	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iwl_mvm_sta_modify_disable_tx  ## -- Begin function iwl_mvm_sta_modify_disable_tx
	.p2align	4, 0x90
_iwl_mvm_sta_modify_disable_tx:         ## @iwl_mvm_sta_modify_disable_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	%r12
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movl	(%rsi), %edi
	callq	_cpu_to_le32
	movl	%eax, -56(%rbp)
	movq	_STA_FLG_DISABLE_TX@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	callq	_cpu_to_le32
	movl	%eax, -52(%rbp)
	testl	%r15d, %r15d
	je	LBB0_1
## %bb.2:
	movl	(%r12), %edi
	callq	_cpu_to_le32
	jmp	LBB0_3
LBB0_1:
	xorl	%eax, %eax
LBB0_3:
	movl	%eax, -48(%rbp)
	movl	4(%rbx), %eax
	movl	%eax, -44(%rbp)
	movq	_STA_MODE_MODIFY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -40(%rbp)
	movq	_ADD_STA@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_CMD_ASYNC@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r14, %rdi
	callq	_iwl_mvm_add_sta_cmd_size
	leaq	-56(%rbp), %r8
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	%ebx, %edx
	movl	%eax, %ecx
	callq	_iwl_mvm_send_cmd_pdu
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	callq	_IWL_ERR
LBB0_5:
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_STA_FLG_DISABLE_TX,4,2         ## @STA_FLG_DISABLE_TX
	.comm	_STA_MODE_MODIFY,4,2            ## @STA_MODE_MODIFY
	.comm	_ADD_STA,4,2                    ## @ADD_STA
	.comm	_CMD_ASYNC,4,2                  ## @CMD_ASYNC
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to send ADD_STA command (%d)\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iwl_mvm_sta_modify_disable_tx  ; -- Begin function iwl_mvm_sta_modify_disable_tx
	.p2align	2
_iwl_mvm_sta_modify_disable_tx:         ; @iwl_mvm_sta_modify_disable_tx
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x20, x1
	mov	x19, x0
	ldr	w0, [x1]
	bl	_cpu_to_le32
	str	w0, [sp, #8]
Lloh0:
	adrp	x22, _STA_FLG_DISABLE_TX@GOTPAGE
Lloh1:
	ldr	x22, [x22, _STA_FLG_DISABLE_TX@GOTPAGEOFF]
	ldr	w0, [x22]
	bl	_cpu_to_le32
	str	w0, [sp, #12]
	cbz	w21, LBB0_2
; %bb.1:
	ldr	w0, [x22]
	bl	_cpu_to_le32
	b	LBB0_3
LBB0_2:
	mov	w0, #0
LBB0_3:
	ldr	w8, [x20, #4]
	stp	w0, w8, [sp, #16]
Lloh2:
	adrp	x8, _STA_MODE_MODIFY@GOTPAGE
Lloh3:
	ldr	x8, [x8, _STA_MODE_MODIFY@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	str	w8, [sp, #24]
Lloh5:
	adrp	x8, _ADD_STA@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ADD_STA@GOTPAGEOFF]
Lloh7:
	ldr	w20, [x8]
Lloh8:
	adrp	x8, _CMD_ASYNC@GOTPAGE
Lloh9:
	ldr	x8, [x8, _CMD_ASYNC@GOTPAGEOFF]
Lloh10:
	ldr	w21, [x8]
	mov	x0, x19
	bl	_iwl_mvm_add_sta_cmd_size
	mov	x3, x0
	add	x4, sp, #8
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	bl	_iwl_mvm_send_cmd_pdu
	cbz	w0, LBB0_5
; %bb.4:
	mov	x2, x0
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_IWL_ERR
LBB0_5:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_STA_FLG_DISABLE_TX,4,2         ; @STA_FLG_DISABLE_TX
	.comm	_STA_MODE_MODIFY,4,2            ; @STA_MODE_MODIFY
	.comm	_ADD_STA,4,2                    ; @ADD_STA
	.comm	_CMD_ASYNC,4,2                  ; @CMD_ASYNC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to send ADD_STA command (%d)\n"

.subsections_via_symbols
