	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wlcore_alloc_hw                ## -- Begin function wlcore_alloc_hw
	.p2align	4, 0x90
_wlcore_alloc_hw:                       ## @wlcore_alloc_hw
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, %r13
	movq	_wl1271_ops@GOTPCREL(%rip), %rsi
	movl	$296, %edi                      ## imm = 0x128
	callq	_ieee80211_alloc_hw
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r14
	movq	(%rax), %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$296, %edx                      ## imm = 0x128
	callq	_memset
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_kzalloc
	movq	%rax, 16(%rbx)
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	leaq	288(%rbx), %rdi
	callq	_INIT_LIST_HEAD
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	movq	%r14, 280(%rbx)
	movq	_NUM_TX_QUEUES@GOTPCREL(%rip), %r13
	movl	(%r13), %ecx
	testl	%ecx, %ecx
	jle	LBB0_11
## %bb.5:
	movq	_WLCORE_MAX_LINKS@GOTPCREL(%rip), %r15
	movl	(%r15), %eax
	xorl	%r12d, %r12d
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_6 Depth=1
	incq	%r12
	movslq	%ecx, %rdx
	cmpq	%rdx, %r12
	jge	LBB0_11
LBB0_6:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_8 Depth 2
	testl	%eax, %eax
	jle	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_8:                                 ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	272(%rbx), %rax
	leaq	(,%r12,4), %rdi
	addq	(%rax,%r14,8), %rdi
	callq	_skb_queue_head_init
	incq	%r14
	movslq	(%r15), %rax
	cmpq	%rax, %r14
	jl	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	(%r13), %ecx
	jmp	LBB0_10
LBB0_11:
	leaq	268(%rbx), %rdi
	callq	_skb_queue_head_init
	leaq	264(%rbx), %rdi
	callq	_skb_queue_head_init
	leaq	260(%rbx), %rdi
	movq	_wl1271_netstack_work@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_WORK
	leaq	256(%rbx), %rdi
	movq	_wl1271_tx_work@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_WORK
	leaq	252(%rbx), %rdi
	movq	_wl1271_recovery_work@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_WORK
	leaq	248(%rbx), %rdi
	movq	_wl1271_scan_complete_work@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_DELAYED_WORK
	leaq	244(%rbx), %rdi
	movq	_wlcore_roc_complete_work@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_DELAYED_WORK
	leaq	240(%rbx), %rdi
	movq	_wl12xx_tx_watchdog_work@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_DELAYED_WORK
	leaq	L_.str.2(%rip), %rdi
	callq	_create_freezable_workqueue
	movl	%eax, 24(%rbx)
	testl	%eax, %eax
	je	LBB0_12
## %bb.13:
	xorps	%xmm0, %xmm0
	movups	%xmm0, 224(%rbx)
	movq	_WL1271_DEFAULT_POWER_LEVEL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 216(%rbx)
	movq	_NL80211_BAND_2GHZ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 212(%rbx)
	movq	_NL80211_CHAN_NO_HT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 208(%rbx)
	movq	$0, 200(%rbx)
	movl	$1, (%rbx)
	movq	_WL1271_PSM_ILLEGAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 192(%rbx)
	movl	$-1, 4(%rbx)
	movups	%xmm0, 160(%rbx)
	movups	%xmm0, 176(%rbx)
	movq	_WL12XX_SYSTEM_HLID@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%edi, 152(%rbx)
	movups	%xmm0, 128(%rbx)
	movq	$0, 144(%rbx)
	movl	120(%rbx), %esi
	callq	___set_bit
	movq	112(%rbx), %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	movl	8(%rbx), %edx
	testl	%edx, %edx
	movq	_GFP_KERNEL@GOTPCREL(%rip), %r14
	jle	LBB0_20
## %bb.14:
	leaq	-1(%rdx), %rcx
	movl	%edx, %eax
	andl	$3, %eax
	cmpq	$3, %rcx
	jae	LBB0_16
## %bb.15:
	xorl	%ecx, %ecx
	jmp	LBB0_18
LBB0_1:
	leaq	L_.str(%rip), %rdi
	callq	_wl1271_error
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	jmp	LBB0_36
LBB0_3:
	leaq	L_.str.1(%rip), %rdi
	callq	_wl1271_error
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	jmp	LBB0_35
LBB0_12:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_34
LBB0_16:
	andl	$-4, %edx
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movq	104(%rbx), %rsi
	movq	$0, (%rsi,%rcx,8)
	movq	104(%rbx), %rsi
	movq	$0, 8(%rsi,%rcx,8)
	movq	104(%rbx), %rsi
	movq	$0, 16(%rsi,%rcx,8)
	movq	104(%rbx), %rsi
	movq	$0, 24(%rsi,%rcx,8)
	addq	$4, %rcx
	cmpq	%rcx, %rdx
	jne	LBB0_17
LBB0_18:
	testq	%rax, %rax
	je	LBB0_20
	.p2align	4, 0x90
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	movq	104(%rbx), %rdx
	movq	$0, (%rdx,%rcx,8)
	incq	%rcx
	decq	%rax
	jne	LBB0_19
LBB0_20:
	leaq	100(%rbx), %rdi
	callq	_spin_lock_init
	movq	_WLCORE_STATE_OFF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 96(%rbx)
	movq	_WL12XX_FW_TYPE_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 92(%rbx)
	leaq	88(%rbx), %rdi
	callq	_mutex_init
	leaq	84(%rbx), %rdi
	callq	_mutex_init
	leaq	80(%rbx), %rdi
	callq	_init_completion
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	callq	_get_order
	movl	%eax, %r13d
	movq	%r14, %r15
	movl	(%r14), %edi
	movl	%eax, %esi
	callq	___get_free_pages
	movq	%rax, 32(%rbx)
	testq	%rax, %rax
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	je	LBB0_21
## %bb.22:
	movq	%r12, 72(%rbx)
	movq	%rbx, %rdi
	callq	_wl12xx_alloc_dummy_packet
	movl	%eax, 40(%rbx)
	testl	%eax, %eax
	je	LBB0_23
## %bb.24:
	movl	(%r15), %edi
	callq	_get_zeroed_page
	movq	%rax, 48(%rbx)
	testq	%rax, %rax
	je	LBB0_25
## %bb.26:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%edi, 12(%rbx)
	movq	_GFP_DMA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	orl	(%r15), %esi
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_kmalloc
	movq	%rax, 56(%rbx)
	testq	%rax, %rax
	je	LBB0_27
## %bb.28:
	movl	(%r15), %esi
	movl	$1, %edi
	callq	_kmalloc
	movq	%rax, 64(%rbx)
	testq	%rax, %rax
	je	LBB0_29
## %bb.37:
	movq	%r14, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_21:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	jmp	LBB0_33
LBB0_23:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	jmp	LBB0_32
LBB0_25:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	jmp	LBB0_31
LBB0_27:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	jmp	LBB0_30
LBB0_29:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	56(%rbx), %rdi
	callq	_kfree
LBB0_30:
	movq	48(%rbx), %rdi
	callq	_free_page
LBB0_31:
	movl	40(%rbx), %edi
	callq	_dev_kfree_skb
LBB0_32:
	movq	32(%rbx), %rdi
	movl	%r13d, %esi
	callq	_free_pages
LBB0_33:
	movl	24(%rbx), %edi
	callq	_destroy_workqueue
LBB0_34:
	movq	%rbx, %rdi
	callq	_wl1271_debugfs_exit
	movq	16(%rbx), %rdi
	callq	_kfree
LBB0_35:
	movq	%r14, %rdi
	callq	_ieee80211_free_hw
LBB0_36:
	negl	%r15d
	movl	%r15d, %edi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ERR_PTR                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_wl1271_ops,4,2                 ## @wl1271_ops
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"could not alloc ieee80211_hw"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
L_.str.1:                               ## @.str.1
	.asciz	"could not alloc wl priv"

	.comm	_NUM_TX_QUEUES,4,2              ## @NUM_TX_QUEUES
	.comm	_WLCORE_MAX_LINKS,4,2           ## @WLCORE_MAX_LINKS
	.comm	_wl1271_netstack_work,4,2       ## @wl1271_netstack_work
	.comm	_wl1271_tx_work,4,2             ## @wl1271_tx_work
	.comm	_wl1271_recovery_work,4,2       ## @wl1271_recovery_work
	.comm	_wl1271_scan_complete_work,4,2  ## @wl1271_scan_complete_work
	.comm	_wlcore_roc_complete_work,4,2   ## @wlcore_roc_complete_work
	.comm	_wl12xx_tx_watchdog_work,4,2    ## @wl12xx_tx_watchdog_work
L_.str.2:                               ## @.str.2
	.asciz	"wl12xx_wq"

	.comm	_WL1271_DEFAULT_POWER_LEVEL,4,2 ## @WL1271_DEFAULT_POWER_LEVEL
	.comm	_NL80211_BAND_2GHZ,4,2          ## @NL80211_BAND_2GHZ
	.comm	_NL80211_CHAN_NO_HT,4,2         ## @NL80211_CHAN_NO_HT
	.comm	_WL1271_PSM_ILLEGAL,4,2         ## @WL1271_PSM_ILLEGAL
	.comm	_WL12XX_SYSTEM_HLID,4,2         ## @WL12XX_SYSTEM_HLID
	.comm	_WLCORE_STATE_OFF,4,2           ## @WLCORE_STATE_OFF
	.comm	_WL12XX_FW_TYPE_NONE,4,2        ## @WL12XX_FW_TYPE_NONE
	.comm	_GFP_DMA,4,2                    ## @GFP_DMA
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function wlcore_alloc_hw
lCPI0_0:
	.long	1                               ; 0x1
	.long	4294967295                      ; 0xffffffff
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_wlcore_alloc_hw
	.p2align	2
_wlcore_alloc_hw:                       ; @wlcore_alloc_hw
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x2
	mov	x22, x1
	mov	x23, x0
Lloh0:
	adrp	x1, _wl1271_ops@GOTPAGE
Lloh1:
	ldr	x1, [x1, _wl1271_ops@GOTPAGEOFF]
	mov	w0, #296
	bl	_ieee80211_alloc_hw
	cbz	x0, LBB0_19
; %bb.1:
	mov	x19, x0
	ldr	x20, [x0]
	mov	x0, x20
	mov	w1, #0
	mov	w2, #296
	bl	_memset
Lloh2:
	adrp	x24, _GFP_KERNEL@GOTPAGE
Lloh3:
	ldr	x24, [x24, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w1, [x24]
	mov	x0, x23
	bl	_kzalloc
	str	x0, [x20, #16]
	cbz	x0, LBB0_20
; %bb.2:
	add	x0, x20, #288
	bl	_INIT_LIST_HEAD
	str	x19, [x20, #280]
Lloh4:
	adrp	x23, _NUM_TX_QUEUES@GOTPAGE
Lloh5:
	ldr	x23, [x23, _NUM_TX_QUEUES@GOTPAGEOFF]
	ldr	w9, [x23]
	cmp	w9, #1
	b.lt	LBB0_9
; %bb.3:
	mov	x25, #0
Lloh6:
	adrp	x26, _WLCORE_MAX_LINKS@GOTPAGE
Lloh7:
	ldr	x26, [x26, _WLCORE_MAX_LINKS@GOTPAGEOFF]
	ldr	w8, [x26]
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x25, x25, #1
	cmp	x25, w9, sxtw
	b.ge	LBB0_9
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x27, #0
LBB0_7:                                 ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x20, #272]
	ldr	x8, [x8, x27, lsl #3]
	add	x0, x8, x25, lsl #2
	bl	_skb_queue_head_init
	add	x27, x27, #1
	ldrsw	x8, [x26]
	cmp	x27, x8
	b.lt	LBB0_7
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w9, [x23]
	b	LBB0_4
LBB0_9:
	add	x0, x20, #268
	bl	_skb_queue_head_init
	add	x0, x20, #264
	bl	_skb_queue_head_init
	add	x0, x20, #260
Lloh8:
	adrp	x8, _wl1271_netstack_work@GOTPAGE
Lloh9:
	ldr	x8, [x8, _wl1271_netstack_work@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	bl	_INIT_WORK
	add	x0, x20, #256
Lloh11:
	adrp	x8, _wl1271_tx_work@GOTPAGE
Lloh12:
	ldr	x8, [x8, _wl1271_tx_work@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	bl	_INIT_WORK
	add	x0, x20, #252
Lloh14:
	adrp	x8, _wl1271_recovery_work@GOTPAGE
Lloh15:
	ldr	x8, [x8, _wl1271_recovery_work@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	bl	_INIT_WORK
	add	x0, x20, #248
Lloh17:
	adrp	x8, _wl1271_scan_complete_work@GOTPAGE
Lloh18:
	ldr	x8, [x8, _wl1271_scan_complete_work@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	bl	_INIT_DELAYED_WORK
	add	x0, x20, #244
Lloh20:
	adrp	x8, _wlcore_roc_complete_work@GOTPAGE
Lloh21:
	ldr	x8, [x8, _wlcore_roc_complete_work@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	bl	_INIT_DELAYED_WORK
	add	x0, x20, #240
Lloh23:
	adrp	x8, _wl12xx_tx_watchdog_work@GOTPAGE
Lloh24:
	ldr	x8, [x8, _wl12xx_tx_watchdog_work@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
	bl	_INIT_DELAYED_WORK
Lloh26:
	adrp	x0, l_.str.2@PAGE
Lloh27:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_create_freezable_workqueue
	str	w0, [x20, #24]
	cbz	w0, LBB0_21
; %bb.10:
	stp	xzr, xzr, [x20, #224]
Lloh28:
	adrp	x8, _WL1271_DEFAULT_POWER_LEVEL@GOTPAGE
Lloh29:
	ldr	x8, [x8, _WL1271_DEFAULT_POWER_LEVEL@GOTPAGEOFF]
Lloh30:
	ldr	w8, [x8]
	str	w8, [x20, #216]
Lloh31:
	adrp	x8, _NL80211_BAND_2GHZ@GOTPAGE
Lloh32:
	ldr	x8, [x8, _NL80211_BAND_2GHZ@GOTPAGEOFF]
Lloh33:
	adrp	x9, _NL80211_CHAN_NO_HT@GOTPAGE
Lloh34:
	ldr	x9, [x9, _NL80211_CHAN_NO_HT@GOTPAGEOFF]
Lloh35:
	ldr	w8, [x8]
Lloh36:
	ldr	w9, [x9]
	stp	w9, w8, [x20, #208]
	str	xzr, [x20, #200]
Lloh37:
	adrp	x8, lCPI0_0@PAGE
Lloh38:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [x20]
Lloh39:
	adrp	x8, _WL1271_PSM_ILLEGAL@GOTPAGE
Lloh40:
	ldr	x8, [x8, _WL1271_PSM_ILLEGAL@GOTPAGEOFF]
Lloh41:
	ldr	w8, [x8]
	str	w8, [x20, #192]
	stp	xzr, xzr, [x20, #176]
	stp	xzr, xzr, [x20, #160]
Lloh42:
	adrp	x8, _WL12XX_SYSTEM_HLID@GOTPAGE
Lloh43:
	ldr	x8, [x8, _WL12XX_SYSTEM_HLID@GOTPAGEOFF]
Lloh44:
	ldr	w0, [x8]
	str	w0, [x20, #152]
	stp	xzr, xzr, [x20, #128]
	str	xzr, [x20, #144]
	ldr	w1, [x20, #120]
	bl	___set_bit
	ldr	x0, [x20, #112]
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	ldr	w9, [x20, #8]
	cmp	w9, #1
	b.lt	LBB0_13
; %bb.11:
	mov	x8, #0
	lsl	x9, x9, #3
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x20, #104]
	str	xzr, [x10, x8]
	add	x8, x8, #8
	cmp	x9, x8
	b.ne	LBB0_12
LBB0_13:
	add	x0, x20, #100
	bl	_spin_lock_init
Lloh45:
	adrp	x8, _WLCORE_STATE_OFF@GOTPAGE
Lloh46:
	ldr	x8, [x8, _WLCORE_STATE_OFF@GOTPAGEOFF]
Lloh47:
	ldr	w8, [x8]
Lloh48:
	adrp	x9, _WL12XX_FW_TYPE_NONE@GOTPAGE
Lloh49:
	ldr	x9, [x9, _WL12XX_FW_TYPE_NONE@GOTPAGEOFF]
Lloh50:
	ldr	w9, [x9]
	stp	w9, w8, [x20, #92]
	add	x0, x20, #88
	bl	_mutex_init
	add	x0, x20, #84
	bl	_mutex_init
	add	x0, x20, #80
	bl	_init_completion
	mov	x0, x22
	bl	_get_order
	mov	x23, x0
	ldr	w0, [x24]
	mov	x1, x23
	bl	___get_free_pages
	str	x0, [x20, #32]
	cbz	x0, LBB0_22
; %bb.14:
	str	x22, [x20, #72]
	mov	x0, x20
	bl	_wl12xx_alloc_dummy_packet
	str	w0, [x20, #40]
	cbz	w0, LBB0_23
; %bb.15:
	ldr	w0, [x24]
	bl	_get_zeroed_page
	str	x0, [x20, #48]
	cbz	x0, LBB0_24
; %bb.16:
	str	w21, [x20, #12]
	ldr	w8, [x24]
Lloh51:
	adrp	x9, _GFP_DMA@GOTPAGE
Lloh52:
	ldr	x9, [x9, _GFP_DMA@GOTPAGEOFF]
Lloh53:
	ldr	w9, [x9]
	orr	w1, w9, w8
	mov	x0, x21
	bl	_kmalloc
	str	x0, [x20, #56]
	cbz	x0, LBB0_25
; %bb.17:
	ldr	w1, [x24]
	mov	w0, #1
	bl	_kmalloc
	str	x0, [x20, #64]
	cbz	x0, LBB0_26
; %bb.18:
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_19:
Lloh54:
	adrp	x0, l_.str@PAGE
Lloh55:
	add	x0, x0, l_.str@PAGEOFF
	bl	_wl1271_error
Lloh56:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh57:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh58:
	ldr	w21, [x8]
	b	LBB0_33
LBB0_20:
Lloh59:
	adrp	x0, l_.str.1@PAGE
Lloh60:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_wl1271_error
Lloh61:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh62:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh63:
	ldr	w21, [x8]
	b	LBB0_32
LBB0_21:
Lloh64:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh65:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh66:
	ldr	w21, [x8]
	b	LBB0_31
LBB0_22:
Lloh67:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh68:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh69:
	ldr	w21, [x8]
	b	LBB0_30
LBB0_23:
Lloh70:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh71:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh72:
	ldr	w21, [x8]
	b	LBB0_29
LBB0_24:
Lloh73:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh74:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh75:
	ldr	w21, [x8]
	b	LBB0_28
LBB0_25:
Lloh76:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh77:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh78:
	ldr	w21, [x8]
	b	LBB0_27
LBB0_26:
Lloh79:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh80:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh81:
	ldr	w21, [x8]
	ldr	x0, [x20, #56]
	bl	_kfree
LBB0_27:
	ldr	x0, [x20, #48]
	bl	_free_page
LBB0_28:
	ldr	w0, [x20, #40]
	bl	_dev_kfree_skb
LBB0_29:
	ldr	x0, [x20, #32]
	mov	x1, x23
	bl	_free_pages
LBB0_30:
	ldr	w0, [x20, #24]
	bl	_destroy_workqueue
LBB0_31:
	mov	x0, x20
	bl	_wl1271_debugfs_exit
	ldr	x0, [x20, #16]
	bl	_kfree
LBB0_32:
	mov	x0, x19
	bl	_ieee80211_free_hw
LBB0_33:
	neg	w0, w21
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_ERR_PTR
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpAdrp	Lloh37, Lloh39
	.loh AdrpLdr	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh35
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpAdd	Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpAdd	Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh72
	.loh AdrpLdrGotLdr	Lloh73, Lloh74, Lloh75
	.loh AdrpLdrGotLdr	Lloh76, Lloh77, Lloh78
	.loh AdrpLdrGotLdr	Lloh79, Lloh80, Lloh81
	.cfi_endproc
                                        ; -- End function
	.comm	_wl1271_ops,4,2                 ; @wl1271_ops
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"could not alloc ieee80211_hw"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
l_.str.1:                               ; @.str.1
	.asciz	"could not alloc wl priv"

	.comm	_NUM_TX_QUEUES,4,2              ; @NUM_TX_QUEUES
	.comm	_WLCORE_MAX_LINKS,4,2           ; @WLCORE_MAX_LINKS
	.comm	_wl1271_netstack_work,4,2       ; @wl1271_netstack_work
	.comm	_wl1271_tx_work,4,2             ; @wl1271_tx_work
	.comm	_wl1271_recovery_work,4,2       ; @wl1271_recovery_work
	.comm	_wl1271_scan_complete_work,4,2  ; @wl1271_scan_complete_work
	.comm	_wlcore_roc_complete_work,4,2   ; @wlcore_roc_complete_work
	.comm	_wl12xx_tx_watchdog_work,4,2    ; @wl12xx_tx_watchdog_work
l_.str.2:                               ; @.str.2
	.asciz	"wl12xx_wq"

	.comm	_WL1271_DEFAULT_POWER_LEVEL,4,2 ; @WL1271_DEFAULT_POWER_LEVEL
	.comm	_NL80211_BAND_2GHZ,4,2          ; @NL80211_BAND_2GHZ
	.comm	_NL80211_CHAN_NO_HT,4,2         ; @NL80211_CHAN_NO_HT
	.comm	_WL1271_PSM_ILLEGAL,4,2         ; @WL1271_PSM_ILLEGAL
	.comm	_WL12XX_SYSTEM_HLID,4,2         ; @WL12XX_SYSTEM_HLID
	.comm	_WLCORE_STATE_OFF,4,2           ; @WLCORE_STATE_OFF
	.comm	_WL12XX_FW_TYPE_NONE,4,2        ; @WL12XX_FW_TYPE_NONE
	.comm	_GFP_DMA,4,2                    ; @GFP_DMA
.subsections_via_symbols
