	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wl1251_build_null_data
_wl1251_build_null_data:                ## @wl1251_build_null_data
	.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	%rdi, %r15
	movq	(%rdi), %rax
	movq	_BSS_TYPE_IBSS@GOTPCREL(%rip), %rcx
	xorl	%r14d, %r14d
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movl	$4, %ecx
	xorl	%edx, %edx
	jmp	LBB0_4
LBB0_2:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	movl	8(%r15), %esi
	movl	12(%r15), %edi
	xorl	%edx, %edx
	callq	_ieee80211_nullfunc_get
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movl	(%rax), %ecx
	movq	8(%rax), %rdx
	movq	%rax, %r14
LBB0_4:
	movq	_CMD_NULL_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_wl1251_cmd_template_set
	movl	%eax, %ebx
LBB0_5:
	movq	%r14, %rdi
	callq	_dev_kfree_skb
	testl	%ebx, %ebx
	je	LBB0_7
## %bb.6:
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %esi
	callq	_wl1251_warning
LBB0_7:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_BSS_TYPE_IBSS,8,3              ## @BSS_TYPE_IBSS
	.comm	_CMD_NULL_DATA,4,2              ## @CMD_NULL_DATA
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cmd buld null data failed: %d"

	.no_dead_strip	_wl1251_build_null_data
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wl1251_build_null_data
_wl1251_build_null_data:                ; @wl1251_build_null_data
	.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
	mov	x20, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _BSS_TYPE_IBSS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _BSS_TYPE_IBSS@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	mov	x19, #0
	mov	x2, #0
	mov	w3, #4
	b	LBB0_4
LBB0_2:
Lloh3:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh5:
	ldr	w21, [x8]
	ldp	w1, w0, [x20, #8]
	mov	w2, #0
	bl	_ieee80211_nullfunc_get
	mov	x19, x0
	cbz	x0, LBB0_5
; %bb.3:
	ldr	w3, [x19]
	ldr	x2, [x19, #8]
LBB0_4:
Lloh6:
	adrp	x8, _CMD_NULL_DATA@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CMD_NULL_DATA@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_wl1251_cmd_template_set
	mov	x20, x0
	b	LBB0_6
LBB0_5:
	neg	w20, w21
LBB0_6:
	mov	x0, x19
	bl	_dev_kfree_skb
	cbz	w20, LBB0_8
; %bb.7:
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	bl	_wl1251_warning
LBB0_8:
	mov	x0, x20
	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	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_BSS_TYPE_IBSS,8,3              ; @BSS_TYPE_IBSS
	.comm	_CMD_NULL_DATA,4,2              ; @CMD_NULL_DATA
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cmd buld null data failed: %d"

	.no_dead_strip	_wl1251_build_null_data
.subsections_via_symbols
