	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mwl8k_cmd_bss_start
_mwl8k_cmd_bss_start:                   ## @mwl8k_cmd_bss_start
	.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
	movl	%edx, %r15d
	movq	%rsi, %r12
	movq	%rdi, %r13
	movq	%rsi, %rdi
	callq	_MWL8K_VIF
	movb	(%rax), %cl
	movl	$1, %edx
	shll	%cl, %edx
	movq	(%r13), %rcx
	andl	(%rcx), %edx
	testl	%r15d, %r15d
	je	LBB0_2
## %bb.1:
	xorl	%r14d, %r14d
	testl	%edx, %edx
	jne	LBB0_10
	jmp	LBB0_3
LBB0_2:
	testl	%edx, %edx
	je	LBB0_9
LBB0_3:
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$24, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%rax, %rbx
	movq	_MWL8K_CMD_BSS_START@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_le16
	movq	%rax, 8(%rbx)
	movl	$24, %edi
	callq	_cpu_to_le16
	movq	%rax, (%rbx)
	movl	%r15d, %edi
	callq	_cpu_to_le32
	movl	%eax, 16(%rbx)
	movq	%r13, %rdi
	movq	%r12, %rsi
	movq	%rbx, %rdx
	callq	_mwl8k_post_pervif_cmd
	movl	%eax, %r14d
	movq	%rbx, %rdi
	callq	_kfree
	testl	%r14d, %r14d
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	jne	LBB0_10
## %bb.6:
	movb	(%rax), %cl
	movl	$1, %eax
	shll	%cl, %eax
	testl	%r15d, %r15d
	je	LBB0_8
## %bb.7:
	orl	%eax, (%rdx)
	jmp	LBB0_9
LBB0_4:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
	jmp	LBB0_10
LBB0_8:
	notl	%eax
	andl	%eax, (%rdx)
LBB0_9:
	xorl	%r14d, %r14d
LBB0_10:
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_MWL8K_CMD_BSS_START,4,2        ## @MWL8K_CMD_BSS_START
	.no_dead_strip	_mwl8k_cmd_bss_start
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mwl8k_cmd_bss_start
_mwl8k_cmd_bss_start:                   ; @mwl8k_cmd_bss_start
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x2
	mov	x21, x1
	mov	x22, x0
	mov	x0, x1
	bl	_MWL8K_VIF
	mov	x20, x0
	ldr	x24, [x22]
	ldr	w8, [x24]
	ldr	w9, [x0]
	mov	w10, #1
	lsl	w9, w10, w9
	and	w8, w9, w8
	cbz	w19, LBB0_3
; %bb.1:
	cbz	w8, LBB0_4
LBB0_2:
	mov	w21, #0
	b	LBB0_11
LBB0_3:
	cbz	w8, LBB0_2
LBB0_4:
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #24
	bl	_kzalloc
	cbz	x0, LBB0_8
; %bb.5:
	mov	x23, x0
Lloh3:
	adrp	x8, _MWL8K_CMD_BSS_START@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MWL8K_CMD_BSS_START@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_cpu_to_le16
	str	x0, [x23, #8]
	mov	w0, #24
	bl	_cpu_to_le16
	str	x0, [x23]
	mov	x0, x19
	bl	_cpu_to_le32
	str	w0, [x23, #16]
	mov	x0, x22
	mov	x1, x21
	mov	x2, x23
	bl	_mwl8k_post_pervif_cmd
	mov	x21, x0
	mov	x0, x23
	bl	_kfree
	cbnz	w21, LBB0_11
; %bb.6:
	ldr	w8, [x20]
	mov	w9, #1
	lsl	w8, w9, w8
	mov	w21, #0
	cbz	w19, LBB0_9
; %bb.7:
	ldr	w9, [x24]
	orr	w8, w9, w8
	b	LBB0_10
LBB0_8:
Lloh6:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_11
LBB0_9:
	ldr	w9, [x24]
	bic	w8, w9, w8
LBB0_10:
	str	w8, [x24]
LBB0_11:
	mov	x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_MWL8K_CMD_BSS_START,4,2        ; @MWL8K_CMD_BSS_START
	.no_dead_strip	_mwl8k_cmd_bss_start
.subsections_via_symbols
