	.file	"extr_if_ipw.c_ipw_attach.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"could not allocate memory resource\n"
	.align 8
.LC1:
	.string	"could not allocate interrupt resource\n"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC2:
	.string	"could not reset adapter\n"
	.section	.rodata.str1.8
	.align 8
.LC3:
	.string	"could not allocate DMA resources\n"
	.section	.rodata.str1.1
.LC4:
	.string	"radio"
	.section	.rodata.str1.8
	.align 8
.LC5:
	.string	"radio transmitter switch state (0=off, 1=on)"
	.section	.rodata.str1.1
.LC6:
	.string	"I"
.LC7:
	.string	"stats"
.LC8:
	.string	"statistics"
.LC9:
	.string	"S"
.LC10:
	.string	"could not set up interrupt\n"
	.text
	.p2align 4
	.type	ipw_attach, @function
ipw_attach:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12d, edi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	call	device_get_softc@PLT
	mov	r14d, DWORD PTR MTX_NETWORK_LOCK[rip]
	mov	edi, r12d
	mov	r13d, DWORD PTR MTX_DEF[rip]
	mov	DWORD PTR 64[rax], r12d
	mov	rbp, rax
	or	r13d, DWORD PTR MTX_RECURSE[rip]
	call	device_get_nameunit@PLT
	mov	ecx, r13d
	mov	edx, r14d
	mov	rdi, rbp
	mov	esi, eax
	lea	r13, 20[rsp]
	call	mtx_init@PLT
	mov	esi, DWORD PTR ifqmaxlen[rip]
	lea	rdi, 60[rbp]
	call	mbufq_init@PLT
	mov	edx, DWORD PTR ipw_init_task[rip]
	mov	rcx, rbp
	xor	esi, esi
	lea	rdi, 56[rbp]
	call	TASK_INIT@PLT
	lea	rdi, 52[rbp]
	xor	edx, edx
	mov	rsi, rbp
	call	callout_init_mtx@PLT
	mov	ecx, 1
	xor	edx, edx
	mov	edi, r12d
	mov	esi, 65
	call	pci_write_config@PLT
	mov	edi, r12d
	call	pci_enable_busmaster@PLT
	xor	edi, edi
	call	PCIR_BAR@PLT
	mov	ecx, DWORD PTR RF_ACTIVE[rip]
	mov	rdx, r13
	mov	edi, r12d
	mov	esi, DWORD PTR SYS_RES_MEMORY[rip]
	mov	DWORD PTR 20[rsp], eax
	call	bus_alloc_resource_any@PLT
	mov	QWORD PTR 8[rbp], rax
	test	rax, rax
	je	.L15
	mov	rdi, rax
	call	rman_get_bustag@PLT
	mov	rdi, QWORD PTR 8[rbp]
	mov	DWORD PTR 48[rbp], eax
	call	rman_get_bushandle@PLT
	mov	esi, DWORD PTR SYS_RES_IRQ[rip]
	mov	rdx, r13
	mov	edi, r12d
	mov	DWORD PTR 44[rbp], eax
	mov	ecx, DWORD PTR RF_ACTIVE[rip]
	or	ecx, DWORD PTR RF_SHAREABLE[rip]
	mov	DWORD PTR 20[rsp], 0
	call	bus_alloc_resource_any@PLT
	mov	QWORD PTR 16[rbp], rax
	test	rax, rax
	je	.L16
	mov	rdi, rbp
	call	ipw_reset@PLT
	test	rax, rax
	jne	.L17
	mov	rdi, rbp
	call	ipw_dma_alloc@PLT
	test	rax, rax
	jne	.L18
	mov	QWORD PTR 160[rbp], rbp
	mov	edi, r12d
	lea	r13, 72[rbp]
	call	device_get_nameunit@PLT
	mov	rsi, QWORD PTR IPW_EEPROM_MAC[rip]
	mov	rdi, rbp
	mov	DWORD PTR 152[rbp], eax
	mov	eax, DWORD PTR IEEE80211_M_STA[rip]
	mov	DWORD PTR 148[rbp], eax
	mov	eax, DWORD PTR IEEE80211_T_DS[rip]
	mov	DWORD PTR 144[rbp], eax
	mov	eax, DWORD PTR IEEE80211_C_STA[rip]
	or	eax, DWORD PTR IEEE80211_C_IBSS[rip]
	or	eax, DWORD PTR IEEE80211_C_MONITOR[rip]
	or	eax, DWORD PTR IEEE80211_C_PMGT[rip]
	or	eax, DWORD PTR IEEE80211_C_SHPREAMBLE[rip]
	or	eax, DWORD PTR IEEE80211_C_WPA[rip]
	mov	DWORD PTR 72[rbp], eax
	call	ipw_read_prom_word@PLT
	mov	rdx, QWORD PTR 80[rbp]
	mov	rdi, rbp
	mov	ecx, eax
	and	eax, 255
	sar	ecx, 8
	mov	DWORD PTR 4[rdx], eax
	mov	rax, QWORD PTR IPW_EEPROM_MAC[rip]
	mov	DWORD PTR [rdx], ecx
	lea	rsi, 1[rax]
	call	ipw_read_prom_word@PLT
	mov	rdx, QWORD PTR 80[rbp]
	mov	rdi, rbp
	mov	ecx, eax
	and	eax, 255
	sar	ecx, 8
	mov	DWORD PTR 12[rdx], eax
	mov	rax, QWORD PTR IPW_EEPROM_MAC[rip]
	mov	DWORD PTR 8[rdx], ecx
	lea	rsi, 2[rax]
	call	ipw_read_prom_word@PLT
	mov	rdx, QWORD PTR 80[rbp]
	mov	rdi, rbp
	mov	ecx, eax
	and	eax, 255
	sar	ecx, 8
	mov	DWORD PTR 20[rdx], eax
	mov	DWORD PTR 16[rdx], ecx
	call	ipw_read_chanmask@PLT
	mov	esi, DWORD PTR IEEE80211_CHAN_MAX[rip]
	mov	rdi, r13
	mov	ecx, DWORD PTR 136[rbp]
	mov	DWORD PTR 40[rbp], eax
	lea	rdx, 140[rbp]
	call	ipw_getradiocaps@PLT
	mov	rsi, QWORD PTR IPW_EEPROM_RADIO[rip]
	mov	rdi, rbp
	call	ipw_read_prom_word@PLT
	test	al, 8
	je	.L19
.L9:
	mov	rdi, r13
	call	ieee80211_ifattach@PLT
	sub	rsp, 8
	.cfi_def_cfa_offset 104
	lea	rsi, 32[rbp]
	mov	rdi, r13
	mov	eax, DWORD PTR ipw_scan_start[rip]
	mov	ecx, DWORD PTR IPW_TX_RADIOTAP_PRESENT[rip]
	mov	r9d, 4
	lea	r8, 28[rbp]
	mov	edx, 4
	mov	DWORD PTR 132[rbp], eax
	mov	eax, DWORD PTR ipw_scan_end[rip]
	mov	DWORD PTR 128[rbp], eax
	mov	rax, QWORD PTR ipw_getradiocaps@GOTPCREL[rip]
	mov	QWORD PTR 120[rbp], rax
	mov	eax, DWORD PTR ipw_set_channel[rip]
	mov	DWORD PTR 116[rbp], eax
	mov	eax, DWORD PTR ipw_scan_curchan[rip]
	mov	DWORD PTR 112[rbp], eax
	mov	eax, DWORD PTR ipw_scan_mindwell[rip]
	mov	DWORD PTR 108[rbp], eax
	mov	eax, DWORD PTR ipw_raw_xmit[rip]
	mov	DWORD PTR 104[rbp], eax
	mov	eax, DWORD PTR ipw_vap_create[rip]
	mov	DWORD PTR 100[rbp], eax
	mov	eax, DWORD PTR ipw_vap_delete[rip]
	mov	DWORD PTR 96[rbp], eax
	mov	eax, DWORD PTR ipw_transmit[rip]
	mov	DWORD PTR 92[rbp], eax
	mov	eax, DWORD PTR ipw_parent[rip]
	mov	DWORD PTR 88[rbp], eax
	mov	eax, DWORD PTR IPW_RX_RADIOTAP_PRESENT[rip]
	push	rax
	.cfi_def_cfa_offset 112
	call	ieee80211_radiotap_attach@PLT
	mov	edx, DWORD PTR ipw_sysctl_radio[rip]
	mov	edi, r12d
	mov	r15d, DWORD PTR OID_AUTO[rip]
	mov	ebx, DWORD PTR CTLTYPE_INT[rip]
	or	ebx, DWORD PTR CTLFLAG_RD[rip]
	mov	DWORD PTR 28[rsp], edx
	call	device_get_sysctl_tree@PLT
	mov	edi, eax
	call	SYSCTL_CHILDREN@PLT
	mov	edi, r12d
	mov	r14d, eax
	call	device_get_sysctl_ctx@PLT
	mov	r8d, ebx
	mov	esi, r14d
	mov	r9, rbp
	mov	edi, eax
	lea	rax, .LC5[rip]
	lea	rcx, .LC4[rip]
	push	rax
	.cfi_def_cfa_offset 120
	lea	rax, .LC6[rip]
	push	rax
	.cfi_def_cfa_offset 128
	mov	edx, DWORD PTR 44[rsp]
	push	rdx
	.cfi_def_cfa_offset 136
	mov	edx, r15d
	push	0
	.cfi_def_cfa_offset 144
	call	SYSCTL_ADD_PROC@PLT
	mov	edx, DWORD PTR ipw_sysctl_stats[rip]
	mov	edi, r12d
	mov	ebx, DWORD PTR CTLTYPE_OPAQUE[rip]
	mov	r15d, DWORD PTR OID_AUTO[rip]
	or	ebx, DWORD PTR CTLFLAG_RD[rip]
	mov	DWORD PTR 60[rsp], edx
	add	rsp, 48
	.cfi_def_cfa_offset 96
	call	device_get_sysctl_tree@PLT
	mov	edi, eax
	call	SYSCTL_CHILDREN@PLT
	mov	edi, r12d
	mov	r14d, eax
	call	device_get_sysctl_ctx@PLT
	mov	esi, r14d
	mov	r9, rbp
	mov	r8d, ebx
	mov	edi, eax
	lea	rax, .LC8[rip]
	lea	rcx, .LC7[rip]
	push	rax
	.cfi_def_cfa_offset 104
	lea	rax, .LC9[rip]
	push	rax
	.cfi_def_cfa_offset 112
	mov	edx, DWORD PTR 28[rsp]
	push	rdx
	.cfi_def_cfa_offset 120
	mov	edx, r15d
	push	0
	.cfi_def_cfa_offset 128
	call	SYSCTL_ADD_PROC@PLT
	add	rsp, 24
	.cfi_def_cfa_offset 104
	lea	rax, 24[rbp]
	mov	r9, rbp
	mov	rsi, QWORD PTR 16[rbp]
	push	rax
	.cfi_def_cfa_offset 112
	xor	ecx, ecx
	mov	edi, r12d
	mov	r8d, DWORD PTR ipw_intr[rip]
	mov	edx, DWORD PTR INTR_TYPE_NET[rip]
	or	edx, DWORD PTR INTR_MPSAFE[rip]
	call	bus_setup_intr@PLT
	mov	r14d, eax
	pop	rax
	.cfi_def_cfa_offset 104
	pop	rdx
	.cfi_def_cfa_offset 96
	test	r14d, r14d
	jne	.L20
	cmp	QWORD PTR bootverbose[rip], 0
	je	.L1
	mov	rdi, r13
	call	ieee80211_announce@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L17:
	lea	rsi, .LC2[rip]
	mov	edi, r12d
	call	device_printf@PLT
.L7:
	mov	r13, QWORD PTR 16[rbp]
	mov	rdi, r13
	call	rman_get_rid@PLT
	mov	esi, DWORD PTR SYS_RES_IRQ[rip]
	mov	rcx, r13
	mov	edi, r12d
	mov	edx, eax
	call	bus_release_resource@PLT
.L5:
	mov	r13, QWORD PTR 8[rbp]
	mov	rdi, r13
	call	rman_get_rid@PLT
	mov	esi, DWORD PTR SYS_RES_MEMORY[rip]
	mov	rcx, r13
	mov	edi, r12d
	mov	edx, eax
	call	bus_release_resource@PLT
.L3:
	mov	rdi, rbp
	call	mtx_destroy@PLT
	mov	r14d, DWORD PTR ENXIO[rip]
.L1:
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L21
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r14d
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L19:
	.cfi_restore_state
	mov	eax, DWORD PTR IPW_FLAG_HAS_RADIO_SWITCH[rip]
	or	DWORD PTR 36[rbp], eax
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L15:
	lea	rsi, .LC0[rip]
	mov	edi, r12d
	call	device_printf@PLT
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L18:
	lea	rsi, .LC3[rip]
	mov	edi, r12d
	call	device_printf@PLT
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L16:
	lea	rsi, .LC1[rip]
	mov	edi, r12d
	call	device_printf@PLT
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L20:
	mov	edi, r12d
	lea	rsi, .LC10[rip]
	call	device_printf@PLT
	mov	rdi, rbp
	call	ipw_release@PLT
	jmp	.L7
.L21:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	ipw_attach, .-ipw_attach
	.comm	ipw_vap_delete,4,4
	.comm	ipw_vap_create,4,4
	.comm	ipw_transmit,4,4
	.comm	ipw_sysctl_stats,4,4
	.comm	ipw_sysctl_radio,4,4
	.comm	ipw_set_channel,4,4
	.comm	ipw_scan_start,4,4
	.comm	ipw_scan_mindwell,4,4
	.comm	ipw_scan_end,4,4
	.comm	ipw_scan_curchan,4,4
	.comm	ipw_raw_xmit,4,4
	.comm	ipw_parent,4,4
	.comm	ipw_intr,4,4
	.comm	ipw_init_task,4,4
	.comm	ifqmaxlen,4,4
	.comm	bootverbose,8,8
	.comm	SYS_RES_MEMORY,4,4
	.comm	SYS_RES_IRQ,4,4
	.comm	RF_SHAREABLE,4,4
	.comm	RF_ACTIVE,4,4
	.comm	OID_AUTO,4,4
	.comm	MTX_RECURSE,4,4
	.comm	MTX_NETWORK_LOCK,4,4
	.comm	MTX_DEF,4,4
	.comm	IPW_TX_RADIOTAP_PRESENT,4,4
	.comm	IPW_RX_RADIOTAP_PRESENT,4,4
	.comm	IPW_FLAG_HAS_RADIO_SWITCH,4,4
	.comm	IPW_EEPROM_RADIO,8,8
	.comm	IPW_EEPROM_MAC,8,8
	.comm	INTR_TYPE_NET,4,4
	.comm	INTR_MPSAFE,4,4
	.comm	IEEE80211_T_DS,4,4
	.comm	IEEE80211_M_STA,4,4
	.comm	IEEE80211_C_WPA,4,4
	.comm	IEEE80211_C_STA,4,4
	.comm	IEEE80211_C_SHPREAMBLE,4,4
	.comm	IEEE80211_C_PMGT,4,4
	.comm	IEEE80211_C_MONITOR,4,4
	.comm	IEEE80211_C_IBSS,4,4
	.comm	IEEE80211_CHAN_MAX,4,4
	.comm	ENXIO,4,4
	.comm	CTLTYPE_OPAQUE,4,4
	.comm	CTLTYPE_INT,4,4
	.comm	CTLFLAG_RD,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_if_ipw.c_ipw_attach.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"could not allocate memory resource\012\000"
	.align	2
.LC1:
	.ascii	"could not allocate interrupt resource\012\000"
	.align	2
.LC2:
	.ascii	"could not reset adapter\012\000"
	.align	2
.LC3:
	.ascii	"could not allocate DMA resources\012\000"
	.align	2
.LC4:
	.ascii	"radio\000"
	.align	2
.LC5:
	.ascii	"radio transmitter switch state (0=off, 1=on)\000"
	.align	2
.LC6:
	.ascii	"I\000"
	.align	2
.LC7:
	.ascii	"stats\000"
	.align	2
.LC8:
	.ascii	"statistics\000"
	.align	2
.LC9:
	.ascii	"S\000"
	.align	2
.LC10:
	.ascii	"could not set up interrupt\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC11:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ipw_attach, %function
ipw_attach:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r3, .L24
	sub	sp, sp, #44
	mov	r5, r0
	ldr	r3, [r3]
	str	r3, [sp, #36]
	mov	r3,#0
	bl	device_get_softc
	mov	r4, r0
	mov	r0, r5
	str	r5, [r4, #52]
	bl	device_get_nameunit
	ldr	r2, .L24+4
	ldr	r3, .L24+8
	ldr	ip, [r2]
	ldr	r3, [r3]
	ldr	r2, .L24+12
	orr	r3, ip, r3
	mov	r1, r0
	ldr	r2, [r2]
	mov	r0, r4
	bl	mtx_init
	ldr	r3, .L24+16
	add	r0, r4, #48
	ldr	r1, [r3]
	bl	mbufq_init
	ldr	r2, .L24+20
	mov	r3, r4
	mov	r1, #0
	ldr	r2, [r2]
	add	r0, r4, #44
	bl	TASK_INIT
	mov	r1, r4
	mov	r2, #0
	add	r0, r4, #40
	bl	callout_init_mtx
	mov	r3, #1
	mov	r2, #0
	mov	r1, #65
	mov	r0, r5
	bl	pci_write_config
	mov	r0, r5
	bl	pci_enable_busmaster
	mov	r0, #0
	bl	PCIR_BAR
	mov	ip, r0
	ldr	r7, .L24+24
	ldr	r6, .L24+28
	mov	r0, r5
	ldr	r3, [r7]
	ldr	r1, [r6]
	add	r2, sp, #32
	str	ip, [sp, #32]
	bl	bus_alloc_resource_any
	cmp	r0, #0
	str	r0, [r4, #4]
	beq	.L18
	bl	rman_get_bustag
	mov	r3, r0
	ldr	r0, [r4, #4]
	str	r3, [r4, #36]
	bl	rman_get_bushandle
	mov	ip, #0
	ldr	r3, .L24+32
	ldr	r1, [r7]
	ldr	r3, [r3]
	ldr	fp, .L24+36
	str	r0, [r4, #32]
	orr	r3, r1, r3
	mov	r0, r5
	ldr	r1, [fp]
	add	r2, sp, #32
	str	ip, [sp, #32]
	bl	bus_alloc_resource_any
	cmp	r0, #0
	str	r0, [r4, #8]
	beq	.L19
	mov	r0, r4
	bl	ipw_reset
	cmp	r0, #0
	bne	.L20
	mov	r0, r4
	bl	ipw_dma_alloc
	cmp	r0, #0
	bne	.L21
	mov	r0, r5
	str	r4, [r4, #128]
	bl	device_get_nameunit
	ldr	r2, .L24+40
	ldr	r3, .L24+44
	ldr	r1, .L24+48
	ldr	ip, [r2]
	ldr	r3, [r3]
	ldr	r2, .L24+52
	ldr	lr, [r1]
	ldr	r2, [r2]
	ldr	r1, .L24+56
	orr	r3, r3, ip
	orr	r3, r3, lr
	ldr	ip, .L24+60
	ldr	lr, [r1]
	orr	r3, r3, r2
	ldr	r1, .L24+64
	ldr	r2, .L24+68
	ldr	ip, [ip]
	orr	r3, r3, lr
	ldr	r7, .L24+72
	ldr	r1, [r1]
	ldr	r2, [r2]
	orr	r3, r3, ip
	str	r0, [r4, #124]
	str	r3, [r4, #56]
	str	r1, [r4, #120]
	str	r2, [r4, #116]
	ldr	r1, [r7]
	mov	r0, r4
	bl	ipw_read_prom_word
	ldr	r3, [r4, #60]
	ldr	r1, [r7]
	asr	r2, r0, #8
	and	r0, r0, #255
	str	r2, [r3]
	str	r0, [r3, #4]
	add	r1, r1, #1
	mov	r0, r4
	bl	ipw_read_prom_word
	ldr	r3, [r4, #60]
	ldr	r1, [r7]
	asr	r2, r0, #8
	and	r0, r0, #255
	add	r1, r1, #2
	str	r2, [r3, #8]
	str	r0, [r3, #12]
	mov	r0, r4
	bl	ipw_read_prom_word
	ldr	r3, [r4, #60]
	asr	r2, r0, #8
	and	r0, r0, #255
	str	r2, [r3, #16]
	str	r0, [r3, #20]
	mov	r0, r4
	bl	ipw_read_chanmask
	ldr	r3, .L24+76
	add	r2, r4, #56
	ldr	r1, [r3]
	str	r2, [sp, #28]
	ldr	r3, [r4, #108]
	str	r0, [r4, #28]
	mov	r0, r2
	add	r2, r4, #112
	bl	ipw_getradiocaps
	ldr	r3, .L24+80
	mov	r0, r4
	ldr	r1, [r3]
	bl	ipw_read_prom_word
	tst	r0, #8
	ldreq	r2, .L24+84
	ldreq	r3, [r4, #24]
	ldreq	r2, [r2]
	ldr	r0, [sp, #28]
	orreq	r3, r3, r2
	streq	r3, [r4, #24]
	bl	ieee80211_ifattach
	mov	r2, #4
	ldr	r0, .L24+88
	ldr	r7, .L24+92
	ldr	r10, [r0]
	ldr	r7, [r7]
	ldr	r0, .L24+96
	ldr	lr, .L24+100
	str	r7, [r4, #104]
	ldr	lr, [lr]
	ldr	r7, [r0]
	ldr	ip, .L24+104
	ldr	r0, .L24+108
	ldr	r3, .L24+112
	ldr	ip, [ip]
	str	lr, [r4, #100]
	ldr	r9, .L24+116
	ldr	lr, [r0]
	ldr	r8, .L24+120
	ldr	r1, .L24+124
	ldr	r0, .L24+128
	ldr	r3, [r3]
	ldr	r9, [r9]
	ldr	r8, [r8]
	ldr	r1, [r1]
	ldr	r0, [r0]
	str	ip, [r4, #84]
	ldr	ip, .L24+132
	str	r3, [r4, #80]
	ldr	r3, .L24+136
	str	lr, [r4, #64]
	str	ip, [r4, #96]
	str	r9, [r4, #92]
	str	r8, [r4, #88]
	str	r1, [r4, #76]
	str	r10, [r4, #72]
	str	r7, [r4, #68]
	add	r1, r4, #16
	str	r2, [sp, #4]
	str	r0, [sp, #8]
	ldr	r3, [r3]
	ldr	r0, [sp, #28]
	str	r1, [sp]
	add	r1, r4, #20
	bl	ieee80211_radiotap_attach
	mov	r0, r5
	bl	device_get_sysctl_ctx
	mov	r8, r0
	mov	r0, r5
	bl	device_get_sysctl_tree
	bl	SYSCTL_CHILDREN
	mov	r7, #0
	ldr	r10, .L24+140
	ldr	r3, .L24+144
	mov	r1, r0
	ldr	r0, [r3]
	ldr	r3, [r10]
	ldr	r2, .L24+148
	orr	r3, r0, r3
	ldr	r2, [r2]
	stm	sp, {r3, r4}
	ldr	ip, .L24+152
	ldr	r9, .L24+156
	ldr	r3, .L24+160
	str	r7, [sp, #8]
	str	r2, [sp, #12]
	ldr	r2, [r9]
	mov	r0, r8
	str	ip, [sp, #20]
	str	r3, [sp, #16]
	ldr	r3, .L24+164
	bl	SYSCTL_ADD_PROC
	mov	r0, r5
	bl	device_get_sysctl_ctx
	mov	r8, r0
	mov	r0, r5
	bl	device_get_sysctl_tree
	bl	SYSCTL_CHILDREN
	ldr	r2, .L24+168
	mov	r1, r0
	ldr	r0, .L24+172
	ldr	r3, [r10]
	ldr	r2, [r2]
	ldr	r10, [r0]
	ldr	lr, .L24+176
	ldr	ip, .L24+180
	orr	r3, r2, r3
	str	r7, [sp, #8]
	ldr	r2, [r9]
	mov	r0, r8
	stm	sp, {r3, r4}
	str	lr, [sp, #20]
	ldr	r3, .L24+184
	str	ip, [sp, #16]
	str	r10, [sp, #12]
	bl	SYSCTL_ADD_PROC
	ldr	r1, .L24+188
	ldr	r3, .L24+192
	ldr	r2, .L24+196
	ldr	lr, [r1]
	ldr	r2, [r2]
	ldr	ip, [r3]
	add	r0, r4, #12
	ldr	r1, [r4, #8]
	mov	r3, r7
	str	r0, [sp, #8]
	orr	r2, lr, r2
	mov	r0, r5
	str	ip, [sp]
	str	r4, [sp, #4]
	bl	bus_setup_intr
	subs	r7, r0, #0
	bne	.L22
	ldr	r3, .L24+200
	ldr	r0, [r3]
	cmp	r0, #0
	beq	.L1
	ldr	r0, [sp, #28]
	bl	ieee80211_announce
	mov	r0, r7
	b	.L1
.L20:
	mov	r0, r5
	ldr	r1, .L24+204
	bl	device_printf
.L7:
	ldr	r0, [r4, #8]
	ldr	r7, [fp]
	bl	rman_get_rid
	mov	r1, r7
	mov	r2, r0
	ldr	r3, [r4, #8]
	mov	r0, r5
	bl	bus_release_resource
.L5:
	ldr	r0, [r4, #4]
	ldr	r6, [r6]
	bl	rman_get_rid
	mov	r1, r6
	mov	r2, r0
	ldr	r3, [r4, #4]
	mov	r0, r5
	bl	bus_release_resource
.L3:
	mov	r0, r4
	bl	mtx_destroy
	ldr	r3, .L24+208
	ldr	r0, [r3]
.L1:
	ldr	r3, .L24
	ldr	r2, [r3]
	ldr	r3, [sp, #36]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L23
	add	sp, sp, #44
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L18:
	mov	r0, r5
	ldr	r1, .L24+212
	bl	device_printf
	b	.L3
.L21:
	mov	r0, r5
	ldr	r1, .L24+216
	bl	device_printf
	b	.L7
.L19:
	mov	r0, r5
	ldr	r1, .L24+220
	bl	device_printf
	b	.L5
.L22:
	mov	r0, r5
	ldr	r1, .L24+224
	bl	device_printf
	mov	r0, r4
	bl	ipw_release
	b	.L7
.L23:
	bl	__stack_chk_fail
.L25:
	.align	2
.L24:
	.word	.LC11
	.word	MTX_DEF
	.word	MTX_RECURSE
	.word	MTX_NETWORK_LOCK
	.word	ifqmaxlen
	.word	ipw_init_task
	.word	RF_ACTIVE
	.word	SYS_RES_MEMORY
	.word	RF_SHAREABLE
	.word	SYS_RES_IRQ
	.word	IEEE80211_C_IBSS
	.word	IEEE80211_C_STA
	.word	IEEE80211_C_MONITOR
	.word	IEEE80211_C_PMGT
	.word	IEEE80211_C_SHPREAMBLE
	.word	IEEE80211_C_WPA
	.word	IEEE80211_M_STA
	.word	IEEE80211_T_DS
	.word	IPW_EEPROM_MAC
	.word	IEEE80211_CHAN_MAX
	.word	IPW_EEPROM_RADIO
	.word	IPW_FLAG_HAS_RADIO_SWITCH
	.word	ipw_vap_delete
	.word	ipw_scan_start
	.word	ipw_transmit
	.word	ipw_scan_end
	.word	ipw_scan_mindwell
	.word	ipw_parent
	.word	ipw_raw_xmit
	.word	ipw_set_channel
	.word	ipw_scan_curchan
	.word	ipw_vap_create
	.word	IPW_RX_RADIOTAP_PRESENT
	.word	ipw_getradiocaps
	.word	IPW_TX_RADIOTAP_PRESENT
	.word	CTLFLAG_RD
	.word	CTLTYPE_INT
	.word	ipw_sysctl_radio
	.word	.LC5
	.word	OID_AUTO
	.word	.LC6
	.word	.LC4
	.word	CTLTYPE_OPAQUE
	.word	ipw_sysctl_stats
	.word	.LC8
	.word	.LC9
	.word	.LC7
	.word	INTR_TYPE_NET
	.word	ipw_intr
	.word	INTR_MPSAFE
	.word	bootverbose
	.word	.LC2
	.word	ENXIO
	.word	.LC0
	.word	.LC3
	.word	.LC1
	.word	.LC10
	.size	ipw_attach, .-ipw_attach
	.comm	ipw_vap_delete,4,4
	.comm	ipw_vap_create,4,4
	.comm	ipw_transmit,4,4
	.comm	ipw_sysctl_stats,4,4
	.comm	ipw_sysctl_radio,4,4
	.comm	ipw_set_channel,4,4
	.comm	ipw_scan_start,4,4
	.comm	ipw_scan_mindwell,4,4
	.comm	ipw_scan_end,4,4
	.comm	ipw_scan_curchan,4,4
	.comm	ipw_raw_xmit,4,4
	.comm	ipw_parent,4,4
	.comm	ipw_intr,4,4
	.comm	ipw_init_task,4,4
	.comm	ifqmaxlen,4,4
	.comm	bootverbose,4,4
	.comm	SYS_RES_MEMORY,4,4
	.comm	SYS_RES_IRQ,4,4
	.comm	RF_SHAREABLE,4,4
	.comm	RF_ACTIVE,4,4
	.comm	OID_AUTO,4,4
	.comm	MTX_RECURSE,4,4
	.comm	MTX_NETWORK_LOCK,4,4
	.comm	MTX_DEF,4,4
	.comm	IPW_TX_RADIOTAP_PRESENT,4,4
	.comm	IPW_RX_RADIOTAP_PRESENT,4,4
	.comm	IPW_FLAG_HAS_RADIO_SWITCH,4,4
	.comm	IPW_EEPROM_RADIO,4,4
	.comm	IPW_EEPROM_MAC,4,4
	.comm	INTR_TYPE_NET,4,4
	.comm	INTR_MPSAFE,4,4
	.comm	IEEE80211_T_DS,4,4
	.comm	IEEE80211_M_STA,4,4
	.comm	IEEE80211_C_WPA,4,4
	.comm	IEEE80211_C_STA,4,4
	.comm	IEEE80211_C_SHPREAMBLE,4,4
	.comm	IEEE80211_C_PMGT,4,4
	.comm	IEEE80211_C_MONITOR,4,4
	.comm	IEEE80211_C_IBSS,4,4
	.comm	IEEE80211_CHAN_MAX,4,4
	.comm	ENXIO,4,4
	.comm	CTLTYPE_OPAQUE,4,4
	.comm	CTLTYPE_INT,4,4
	.comm	CTLFLAG_RD,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
