	.file	"extr_hostap_main.c_hostap_setup_dev.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	hostap_setup_dev
	.type	hostap_setup_dev, @function
hostap_setup_dev:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12d, edx
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	netdev_priv@PLT
	mov	rdi, rbp
	mov	rbx, rax
	call	ether_setup@PLT
	mov	rdi, rbp
	call	netdev_extended@PLT
	mov	r8, rax
	mov	eax, DWORD PTR IFF_TX_SKB_SHARING[rip]
	not	eax
	and	DWORD PTR [r8], eax
	test	rbx, rbx
	je	.L2
	lea	rax, 8[rbx]
	mov	QWORD PTR [rbx], rax
	mov	QWORD PTR 48[rbp], rbx
.L2:
	lea	rax, hostap_iw_handler_def[rip]
	mov	QWORD PTR 40[rbp], rax
	mov	eax, DWORD PTR TX_TIMEOUT[rip]
	mov	DWORD PTR 36[rbp], eax
	cmp	r12d, 128
	je	.L3
	mov	DWORD PTR 16[rbp], 0
	cmp	r12d, 129
	jne	.L4
	lea	rax, hostap_mgmt_netdev_ops[rip]
	mov	QWORD PTR 8[rbp], rax
	mov	eax, DWORD PTR ARPHRD_IEEE80211[rip]
	mov	DWORD PTR 32[rbp], eax
	lea	rax, hostap_80211_ops[rip]
	mov	QWORD PTR 24[rbp], rax
.L5:
	mov	eax, DWORD PTR 0[r13]
	mov	rdi, rbp
	lea	rsi, prism2_ethtool_ops[rip]
	mov	DWORD PTR 0[rbp], eax
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	SET_ETHTOOL_OPS@PLT
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	lea	rax, hostap_master_ops[rip]
	mov	QWORD PTR 8[rbp], rax
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L4:
	lea	rax, hostap_netdev_ops[rip]
	mov	QWORD PTR 8[rbp], rax
	jmp	.L5
	.cfi_endproc
.LFE0:
	.size	hostap_setup_dev, .-hostap_setup_dev
	.comm	prism2_ethtool_ops,4,4
	.comm	hostap_netdev_ops,4,4
	.comm	hostap_mgmt_netdev_ops,4,4
	.comm	hostap_master_ops,4,4
	.comm	hostap_iw_handler_def,4,4
	.comm	hostap_80211_ops,4,4
	.comm	TX_TIMEOUT,4,4
	.comm	IFF_TX_SKB_SHARING,4,4
	.comm	ARPHRD_IEEE80211,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_hostap_main.c_hostap_setup_dev.c"
	.text
	.align	2
	.global	hostap_setup_dev
	.syntax unified
	.arm
	.fpu softvfp
	.type	hostap_setup_dev, %function
hostap_setup_dev:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r0
	mov	r6, r2
	mov	r7, r1
	bl	netdev_priv
	mov	r5, r0
	mov	r0, r4
	bl	ether_setup
	mov	r0, r4
	bl	netdev_extended
	ldr	r2, .L11
	ldr	r3, [r0]
	ldr	r2, [r2]
	cmp	r5, #0
	bic	r3, r3, r2
	ldr	r2, .L11+4
	str	r3, [r0]
	addne	r3, r5, #4
	strne	r3, [r5]
	ldr	r2, [r2]
	ldr	r3, .L11+8
	strne	r5, [r4, #28]
	cmp	r6, #128
	str	r2, [r4, #20]
	str	r3, [r4, #24]
	beq	.L3
	cmp	r6, #129
	bne	.L4
	mov	r1, #0
	ldr	r3, .L11+12
	ldr	r2, .L11+16
	ldr	r0, [r3]
	ldr	r3, .L11+20
	str	r0, [r4, #16]
	str	r1, [r4, #8]
	str	r2, [r4, #4]
	str	r3, [r4, #12]
.L5:
	ldr	r3, [r7]
	mov	r0, r4
	str	r3, [r4]
	ldr	r1, .L11+24
	pop	{r4, r5, r6, r7, r8, lr}
	b	SET_ETHTOOL_OPS
.L3:
	ldr	r3, .L11+28
	str	r3, [r4, #4]
	b	.L5
.L4:
	mov	r2, #0
	ldr	r3, .L11+32
	str	r2, [r4, #8]
	str	r3, [r4, #4]
	b	.L5
.L12:
	.align	2
.L11:
	.word	IFF_TX_SKB_SHARING
	.word	TX_TIMEOUT
	.word	hostap_iw_handler_def
	.word	ARPHRD_IEEE80211
	.word	hostap_mgmt_netdev_ops
	.word	hostap_80211_ops
	.word	prism2_ethtool_ops
	.word	hostap_master_ops
	.word	hostap_netdev_ops
	.size	hostap_setup_dev, .-hostap_setup_dev
	.comm	prism2_ethtool_ops,4,4
	.comm	hostap_netdev_ops,4,4
	.comm	hostap_mgmt_netdev_ops,4,4
	.comm	hostap_master_ops,4,4
	.comm	hostap_iw_handler_def,4,4
	.comm	hostap_80211_ops,4,4
	.comm	TX_TIMEOUT,4,4
	.comm	IFF_TX_SKB_SHARING,4,4
	.comm	ARPHRD_IEEE80211,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
