	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iwl_send_phy_cfg_cmd
_iwl_send_phy_cfg_cmd:                  ## @iwl_send_phy_cfg_cmd
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movl	16(%rdi), %r15d
	callq	_iwl_mvm_get_phy_config
	movl	%eax, %edi
	callq	_cpu_to_le32
	movl	%eax, %ebx
	movq	8(%r14), %rax
	movl	(%rax), %edi
	callq	_cpu_to_le32
	orl	%eax, %ebx
	movl	%ebx, -40(%rbp)
	movq	(%r14), %rax
	movq	(%rax), %rax
	movl	4(%rax,%r15,8), %ecx
	movl	%ecx, -32(%rbp)
	movl	(%rax,%r15,8), %eax
	movl	%eax, -36(%rbp)
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_IWL_DEBUG_INFO
	movq	_PHY_CONFIGURATION_CMD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-40(%rbp), %r8
	movq	%r14, %rdi
	xorl	%edx, %edx
	movl	$12, %ecx
	callq	_iwl_mvm_send_cmd_pdu
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Sending Phy CFG command: 0x%x\n"

	.comm	_PHY_CONFIGURATION_CMD,4,2      ## @PHY_CONFIGURATION_CMD
	.no_dead_strip	_iwl_send_phy_cfg_cmd
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iwl_send_phy_cfg_cmd
_iwl_send_phy_cfg_cmd:                  ; @iwl_send_phy_cfg_cmd
	.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	x19, x0
	ldr	w21, [x0, #16]
	bl	_iwl_mvm_get_phy_config
	bl	_cpu_to_le32
	mov	x20, x0
	ldr	x8, [x19, #8]
	ldr	w0, [x8]
	bl	_cpu_to_le32
	orr	w2, w20, w0
	str	w2, [sp]
	ldr	x8, [x19]
	ldr	x8, [x8]
	ldr	d0, [x8, x21, lsl #3]
	stur	d0, [sp, #4]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_IWL_DEBUG_INFO
Lloh2:
	adrp	x8, _PHY_CONFIGURATION_CMD@GOTPAGE
Lloh3:
	ldr	x8, [x8, _PHY_CONFIGURATION_CMD@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x4, sp
	mov	x0, x19
	mov	w2, #0
	mov	w3, #12
	bl	_iwl_mvm_send_cmd_pdu
	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	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Sending Phy CFG command: 0x%x\n"

	.comm	_PHY_CONFIGURATION_CMD,4,2      ; @PHY_CONFIGURATION_CMD
	.no_dead_strip	_iwl_send_phy_cfg_cmd
.subsections_via_symbols
