	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iwlagn_send_tx_ant_config
_iwlagn_send_tx_ant_config:             ## @iwlagn_send_tx_ant_config
	.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
	movl	%esi, %r14d
	movq	%rdi, %r15
	movl	%esi, %edi
	callq	_cpu_to_le32
	movl	%eax, -32(%rbp)
	movq	(%r15), %rax
	movl	(%rax), %edi
	callq	_IWL_UCODE_API
	cmpl	$2, %eax
	jl	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	movl	%r14d, %edx
	xorl	%eax, %eax
	callq	_IWL_DEBUG_HC
	movq	_TX_ANT_CONFIGURATION_CMD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-32(%rbp), %r8
	movq	%r15, %rdi
	xorl	%edx, %edx
	movl	$4, %ecx
	callq	_iwl_dvm_send_cmd_pdu
	movl	%eax, %ebx
	jmp	LBB0_3
LBB0_2:
	leaq	L_.str.1(%rip), %rsi
	xorl	%ebx, %ebx
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_IWL_DEBUG_HC
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
LBB0_3:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"select valid tx ant: %u\n"

	.comm	_TX_ANT_CONFIGURATION_CMD,4,2   ## @TX_ANT_CONFIGURATION_CMD
L_.str.1:                               ## @.str.1
	.asciz	"TX_ANT_CONFIGURATION_CMD not supported\n"

	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.no_dead_strip	_iwlagn_send_tx_ant_config
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iwlagn_send_tx_ant_config
_iwlagn_send_tx_ant_config:             ; @iwlagn_send_tx_ant_config
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x20, x1
	mov	x19, x0
	mov	x0, x1
	bl	_cpu_to_le32
	str	w0, [sp, #8]
	ldr	x8, [x19]
	ldr	w0, [x8]
	bl	_IWL_UCODE_API
	cmp	w0, #2
	b.lt	LBB0_2
; %bb.1:
	str	x20, [sp]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_IWL_DEBUG_HC
Lloh2:
	adrp	x8, _TX_ANT_CONFIGURATION_CMD@GOTPAGE
Lloh3:
	ldr	x8, [x8, _TX_ANT_CONFIGURATION_CMD@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	add	x4, sp, #8
	mov	x0, x19
	mov	w2, #0
	mov	w3, #4
	bl	_iwl_dvm_send_cmd_pdu
	b	LBB0_3
LBB0_2:
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_IWL_DEBUG_HC
Lloh7:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"select valid tx ant: %u\n"

	.comm	_TX_ANT_CONFIGURATION_CMD,4,2   ; @TX_ANT_CONFIGURATION_CMD
l_.str.1:                               ; @.str.1
	.asciz	"TX_ANT_CONFIGURATION_CMD not supported\n"

	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.no_dead_strip	_iwlagn_send_tx_ant_config
.subsections_via_symbols
