	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wl1271_cmd_ext_radio_parms     ## -- Begin function wl1271_cmd_ext_radio_parms
	.p2align	4, 0x90
_wl1271_cmd_ext_radio_parms:            ## @wl1271_cmd_ext_radio_parms
	.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
	cmpl	$0, (%rdi)
	je	LBB0_1
## %bb.3:
	movq	%rdi, %r14
	movq	8(%rdi), %rbx
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$12, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%rax, %r15
	movq	_TEST_CMD_INI_FILE_RF_EXTENDED_PARAM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r15)
	movl	4(%r15), %edi
	movl	4(%rbx), %esi
	movq	_CONF_TX_PWR_COMPENSATION_LEN_2@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_memcpy
	movl	(%r15), %edi
	movl	(%rbx), %esi
	movq	_CONF_TX_PWR_COMPENSATION_LEN_5@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_memcpy
	movq	_DEBUG_CMD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdx
	movl	$12, %ecx
	callq	_wl1271_dump
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	$12, %edx
	xorl	%ecx, %ecx
	callq	_wl1271_cmd_test
	movl	%eax, %ebx
	testl	%eax, %eax
	jns	LBB0_7
## %bb.6:
	leaq	L_.str.1(%rip), %rdi
	callq	_wl1271_warning
LBB0_7:
	movq	%r15, %rdi
	callq	_kfree
	jmp	LBB0_8
LBB0_1:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_4:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
LBB0_2:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_8:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_TEST_CMD_INI_FILE_RF_EXTENDED_PARAM,4,2 ## @TEST_CMD_INI_FILE_RF_EXTENDED_PARAM
	.comm	_CONF_TX_PWR_COMPENSATION_LEN_2,4,2 ## @CONF_TX_PWR_COMPENSATION_LEN_2
	.comm	_CONF_TX_PWR_COMPENSATION_LEN_5,4,2 ## @CONF_TX_PWR_COMPENSATION_LEN_5
	.comm	_DEBUG_CMD,4,2                  ## @DEBUG_CMD
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"TEST_CMD_INI_FILE_EXT_RADIO_PARAM: "

L_.str.1:                               ## @.str.1
	.asciz	"TEST_CMD_INI_FILE_RF_EXTENDED_PARAM failed"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wl1271_cmd_ext_radio_parms     ; -- Begin function wl1271_cmd_ext_radio_parms
	.p2align	2
_wl1271_cmd_ext_radio_parms:            ; @wl1271_cmd_ext_radio_parms
	.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
	ldr	w8, [x0]
	cbz	w8, LBB0_5
; %bb.1:
	mov	x20, x0
	ldr	x21, [x0, #8]
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #12
	bl	_kzalloc
	cbz	x0, LBB0_6
; %bb.2:
	mov	x19, x0
Lloh3:
	adrp	x8, _TEST_CMD_INI_FILE_RF_EXTENDED_PARAM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TEST_CMD_INI_FILE_RF_EXTENDED_PARAM@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x0, #8]
	ldr	w0, [x0, #4]
	ldr	w1, [x21, #4]
Lloh6:
	adrp	x8, _CONF_TX_PWR_COMPENSATION_LEN_2@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CONF_TX_PWR_COMPENSATION_LEN_2@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	bl	_memcpy
	ldr	w0, [x19]
	ldr	w1, [x21]
Lloh9:
	adrp	x8, _CONF_TX_PWR_COMPENSATION_LEN_5@GOTPAGE
Lloh10:
	ldr	x8, [x8, _CONF_TX_PWR_COMPENSATION_LEN_5@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	bl	_memcpy
Lloh12:
	adrp	x8, _DEBUG_CMD@GOTPAGE
Lloh13:
	ldr	x8, [x8, _DEBUG_CMD@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
Lloh15:
	adrp	x1, l_.str@PAGE
Lloh16:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x19
	mov	w3, #12
	bl	_wl1271_dump
	mov	x0, x20
	mov	x1, x19
	mov	w2, #12
	mov	w3, #0
	bl	_wl1271_cmd_test
	mov	x20, x0
	tbz	w0, #31, LBB0_4
; %bb.3:
Lloh17:
	adrp	x0, l_.str.1@PAGE
Lloh18:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_wl1271_warning
LBB0_4:
	mov	x0, x19
	bl	_kfree
	b	LBB0_8
LBB0_5:
Lloh19:
	adrp	x8, _ENODEV@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
Lloh21:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh22:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_7:
	ldr	w8, [x8]
	neg	w20, w8
LBB0_8:
	mov	x0, x20
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_TEST_CMD_INI_FILE_RF_EXTENDED_PARAM,4,2 ; @TEST_CMD_INI_FILE_RF_EXTENDED_PARAM
	.comm	_CONF_TX_PWR_COMPENSATION_LEN_2,4,2 ; @CONF_TX_PWR_COMPENSATION_LEN_2
	.comm	_CONF_TX_PWR_COMPENSATION_LEN_5,4,2 ; @CONF_TX_PWR_COMPENSATION_LEN_5
	.comm	_DEBUG_CMD,4,2                  ; @DEBUG_CMD
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"TEST_CMD_INI_FILE_EXT_RADIO_PARAM: "

l_.str.1:                               ; @.str.1
	.asciz	"TEST_CMD_INI_FILE_RF_EXTENDED_PARAM failed"

.subsections_via_symbols
