	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mwifiex_cmd_recfg_tx_buf       ## -- Begin function mwifiex_cmd_recfg_tx_buf
	.p2align	4, 0x90
_mwifiex_cmd_recfg_tx_buf:              ## @mwifiex_cmd_recfg_tx_buf
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movl	%edx, %r12d
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	_HostCmd_CMD_RECONFIGURE_TX_BUFF@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_le16
	movq	%rax, 8(%rbx)
	movq	_S_DS_GEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addl	$16, %edi
	callq	_cpu_to_le16
	movq	%rax, (%rbx)
	movl	%r12d, %edi
	callq	_cpu_to_le16
	movq	%rax, 24(%rbx)
	cmpl	$128, %r12d
	jne	LBB0_1
## %bb.2:
	movl	(%r15), %edi
	movq	_CMD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r14), %ecx
	leaq	L_.str(%rip), %rdx
	callq	_mwifiex_dbg
	movl	(%r14), %edi
	callq	_cpu_to_le16
	jmp	LBB0_3
LBB0_1:
	xorl	%eax, %eax
LBB0_3:
	movq	%rax, 16(%rbx)
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HostCmd_CMD_RECONFIGURE_TX_BUFF,4,2 ## @HostCmd_CMD_RECONFIGURE_TX_BUFF
	.comm	_S_DS_GEN,4,2                   ## @S_DS_GEN
	.comm	_CMD,4,2                        ## @CMD
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cmd: set tx_buf=%d\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mwifiex_cmd_recfg_tx_buf       ; -- Begin function mwifiex_cmd_recfg_tx_buf
	.p2align	2
_mwifiex_cmd_recfg_tx_buf:              ; @mwifiex_cmd_recfg_tx_buf
	.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, x3
	mov	x22, x2
	mov	x19, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _HostCmd_CMD_RECONFIGURE_TX_BUFF@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HostCmd_CMD_RECONFIGURE_TX_BUFF@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_cpu_to_le16
	str	x0, [x19, #8]
Lloh3:
	adrp	x8, _S_DS_GEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _S_DS_GEN@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	add	w0, w8, #16
	bl	_cpu_to_le16
	str	x0, [x19]
	mov	x0, x22
	bl	_cpu_to_le16
	str	x0, [x19, #24]
	cmp	w22, #128
	b.ne	LBB0_2
; %bb.1:
	ldr	w0, [x21]
Lloh6:
	adrp	x8, _CMD@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CMD@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	ldr	w3, [x20]
Lloh9:
	adrp	x2, l_.str@PAGE
Lloh10:
	add	x2, x2, l_.str@PAGEOFF
	bl	_mwifiex_dbg
	ldr	w0, [x20]
	bl	_cpu_to_le16
	b	LBB0_3
LBB0_2:
	mov	x0, #0
LBB0_3:
	str	x0, [x19, #16]
	mov	w0, #0
	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	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_HostCmd_CMD_RECONFIGURE_TX_BUFF,4,2 ; @HostCmd_CMD_RECONFIGURE_TX_BUFF
	.comm	_S_DS_GEN,4,2                   ; @S_DS_GEN
	.comm	_CMD,4,2                        ; @CMD
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cmd: set tx_buf=%d\n"

.subsections_via_symbols
