	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wl1251_cmd_data_path_tx        ## -- Begin function wl1251_cmd_data_path_tx
	.p2align	4, 0x90
_wl1251_cmd_data_path_tx:               ## @wl1251_cmd_data_path_tx
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r12d
	movl	%esi, %r14d
	movq	%rdi, %r13
	movq	_DEBUG_CMD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_wl1251_debug
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$4, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movl	%r14d, (%rax)
	testl	%r12d, %r12d
	jne	LBB0_3
## %bb.4:
	movq	_CMD_DISABLE_TX@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	subl	(%rax), %r15d
	jmp	LBB0_9
LBB0_3:
	movq	_CMD_ENABLE_TX@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %esi
	movq	%r13, %rdi
	movq	%rbx, %rdx
	movl	$4, %ecx
	callq	_wl1251_cmd_send
	movl	%eax, %r15d
	testl	%eax, %eax
	js	LBB0_6
## %bb.7:
	testl	%r12d, %r12d
	movq	_DEBUG_BOOT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rax
	leaq	L_.str.2(%rip), %rdx
	cmoveq	%rax, %rdx
	leaq	L_.str.4(%rip), %rsi
	movl	%r14d, %ecx
	xorl	%eax, %eax
	callq	_wl1251_debug
	jmp	LBB0_8
LBB0_6:
	testl	%r12d, %r12d
	leaq	L_.str.3(%rip), %rax
	leaq	L_.str.2(%rip), %rsi
	cmoveq	%rax, %rsi
	leaq	L_.str.1(%rip), %rdi
	movl	%r14d, %edx
	callq	_wl1251_error
LBB0_8:
	movq	%rbx, %rdi
	callq	_kfree
LBB0_9:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DEBUG_CMD,4,2                  ## @DEBUG_CMD
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cmd data path"

	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_CMD_ENABLE_TX,4,2              ## @CMD_ENABLE_TX
	.comm	_CMD_DISABLE_TX,4,2             ## @CMD_DISABLE_TX
L_.str.1:                               ## @.str.1
	.asciz	"tx %s cmd for channel %d failed"

L_.str.2:                               ## @.str.2
	.asciz	"start"

L_.str.3:                               ## @.str.3
	.asciz	"stop"

	.comm	_DEBUG_BOOT,4,2                 ## @DEBUG_BOOT
L_.str.4:                               ## @.str.4
	.asciz	"tx %s cmd channel %d"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wl1251_cmd_data_path_tx        ; -- Begin function wl1251_cmd_data_path_tx
	.p2align	2
_wl1251_cmd_data_path_tx:               ; @wl1251_cmd_data_path_tx
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x21, x2
	mov	x19, x1
	mov	x22, x0
Lloh0:
	adrp	x8, _DEBUG_CMD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DEBUG_CMD@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wl1251_debug
Lloh5:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	w0, #4
	bl	_kzalloc
	cbz	x0, LBB0_3
; %bb.1:
	mov	x20, x0
Lloh8:
	adrp	x8, _CMD_DISABLE_TX@GOTPAGE
Lloh9:
	ldr	x8, [x8, _CMD_DISABLE_TX@GOTPAGEOFF]
	str	w19, [x0]
Lloh10:
	adrp	x9, _CMD_ENABLE_TX@GOTPAGE
Lloh11:
	ldr	x9, [x9, _CMD_ENABLE_TX@GOTPAGEOFF]
	cmp	w21, #0
	csel	x8, x8, x9, eq
	ldr	w1, [x8]
	mov	x0, x22
	mov	x2, x20
	mov	w3, #4
	bl	_wl1251_cmd_send
	mov	x22, x0
	tbnz	w0, #31, LBB0_4
; %bb.2:
Lloh12:
	adrp	x8, _DEBUG_BOOT@GOTPAGE
Lloh13:
	ldr	x8, [x8, _DEBUG_BOOT@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
Lloh15:
	adrp	x8, l_.str.2@PAGE
Lloh16:
	add	x8, x8, l_.str.2@PAGEOFF
Lloh17:
	adrp	x9, l_.str.3@PAGE
Lloh18:
	add	x9, x9, l_.str.3@PAGEOFF
	cmp	w21, #0
	csel	x8, x9, x8, eq
	stp	x8, x19, [sp]
Lloh19:
	adrp	x1, l_.str.4@PAGE
Lloh20:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_wl1251_debug
	b	LBB0_5
LBB0_3:
Lloh21:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh22:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	neg	w22, w8
	b	LBB0_6
LBB0_4:
Lloh24:
	adrp	x8, l_.str.2@PAGE
Lloh25:
	add	x8, x8, l_.str.2@PAGEOFF
Lloh26:
	adrp	x9, l_.str.3@PAGE
Lloh27:
	add	x9, x9, l_.str.3@PAGEOFF
	cmp	w21, #0
	csel	x1, x9, x8, eq
Lloh28:
	adrp	x0, l_.str.1@PAGE
Lloh29:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x2, x19
	bl	_wl1251_error
LBB0_5:
	mov	x0, x20
	bl	_kfree
LBB0_6:
	mov	x0, x22
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_DEBUG_CMD,4,2                  ; @DEBUG_CMD
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cmd data path"

	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_CMD_ENABLE_TX,4,2              ; @CMD_ENABLE_TX
	.comm	_CMD_DISABLE_TX,4,2             ; @CMD_DISABLE_TX
l_.str.1:                               ; @.str.1
	.asciz	"tx %s cmd for channel %d failed"

l_.str.2:                               ; @.str.2
	.asciz	"start"

l_.str.3:                               ; @.str.3
	.asciz	"stop"

	.comm	_DEBUG_BOOT,4,2                 ; @DEBUG_BOOT
l_.str.4:                               ; @.str.4
	.asciz	"tx %s cmd channel %d"

.subsections_via_symbols
