	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wl12xx_alloc_dummy_packet
_wl12xx_alloc_dummy_packet:             ## @wl12xx_alloc_dummy_packet
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_TOTAL_TX_DUMMY_PACKET_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	%r14d, %edi
	callq	_dev_alloc_skb
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	addl	$-8, %r14d
	movq	%rbx, %rdi
	movl	$4, %esi
	callq	_skb_reserve
	movq	%rbx, %rdi
	movl	$4, %esi
	callq	_skb_put_zero
	movq	_IEEE80211_FTYPE_DATA@GOTPCREL(%rip), %rcx
	movq	_IEEE80211_STYPE_NULLFUNC@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edi
	orl	(%rcx), %edi
	movq	%rax, %r15
	movq	_IEEE80211_FCTL_TODS@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	callq	_cpu_to_le16
	movl	%eax, (%r15)
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_skb_put_zero
	movq	_WL1271_TID_MGMT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_skb_set_queue_mapping
	movq	%rbx, %rdi
	callq	_IEEE80211_SKB_CB
	movl	%eax, %edi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	jmp	LBB0_3
LBB0_1:
	leaq	L_.str(%rip), %rdi
	callq	_wl1271_warning
LBB0_3:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TOTAL_TX_DUMMY_PACKET_SIZE,4,2 ## @TOTAL_TX_DUMMY_PACKET_SIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to allocate a dummy packet skb"

	.comm	_IEEE80211_FTYPE_DATA,4,2       ## @IEEE80211_FTYPE_DATA
	.comm	_IEEE80211_STYPE_NULLFUNC,4,2   ## @IEEE80211_STYPE_NULLFUNC
	.comm	_IEEE80211_FCTL_TODS,4,2        ## @IEEE80211_FCTL_TODS
	.comm	_WL1271_TID_MGMT,4,2            ## @WL1271_TID_MGMT
	.no_dead_strip	_wl12xx_alloc_dummy_packet
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wl12xx_alloc_dummy_packet
_wl12xx_alloc_dummy_packet:             ; @wl12xx_alloc_dummy_packet
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
Lloh0:
	adrp	x8, _TOTAL_TX_DUMMY_PACKET_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TOTAL_TX_DUMMY_PACKET_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
	mov	x0, x20
	bl	_dev_alloc_skb
	mov	x19, x0
	cbz	x0, LBB0_2
; %bb.1:
	sub	w20, w20, #8
	mov	x0, x19
	mov	w1, #4
	bl	_skb_reserve
	mov	x0, x19
	mov	w1, #4
	bl	_skb_put_zero
	mov	x21, x0
Lloh3:
	adrp	x8, _IEEE80211_FTYPE_DATA@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IEEE80211_FTYPE_DATA@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _IEEE80211_STYPE_NULLFUNC@GOTPAGE
Lloh7:
	ldr	x9, [x9, _IEEE80211_STYPE_NULLFUNC@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh9:
	adrp	x9, _IEEE80211_FCTL_TODS@GOTPAGE
Lloh10:
	ldr	x9, [x9, _IEEE80211_FCTL_TODS@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w0, w8, w9
	bl	_cpu_to_le16
	str	w0, [x21]
	mov	x0, x19
	mov	x1, x20
	bl	_skb_put_zero
Lloh12:
	adrp	x8, _WL1271_TID_MGMT@GOTPAGE
Lloh13:
	ldr	x8, [x8, _WL1271_TID_MGMT@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	str	w8, [x19]
	mov	x0, x19
	mov	w1, #0
	bl	_skb_set_queue_mapping
	mov	x0, x19
	bl	_IEEE80211_SKB_CB
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	b	LBB0_3
LBB0_2:
Lloh15:
	adrp	x0, l_.str@PAGE
Lloh16:
	add	x0, x0, l_.str@PAGEOFF
	bl	_wl1271_warning
LBB0_3:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_TOTAL_TX_DUMMY_PACKET_SIZE,4,2 ; @TOTAL_TX_DUMMY_PACKET_SIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to allocate a dummy packet skb"

	.comm	_IEEE80211_FTYPE_DATA,4,2       ; @IEEE80211_FTYPE_DATA
	.comm	_IEEE80211_STYPE_NULLFUNC,4,2   ; @IEEE80211_STYPE_NULLFUNC
	.comm	_IEEE80211_FCTL_TODS,4,2        ; @IEEE80211_FCTL_TODS
	.comm	_WL1271_TID_MGMT,4,2            ; @WL1271_TID_MGMT
	.no_dead_strip	_wl12xx_alloc_dummy_packet
.subsections_via_symbols
