	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iwl_mvm_sar_init
_iwl_mvm_sar_init:                      ## @iwl_mvm_sar_init
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	callq	_iwl_mvm_sar_get_wrds_table
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movq	%rbx, %rdi
	callq	_iwl_mvm_sar_get_ewrd_table
	testl	%eax, %eax
	jns	LBB0_4
## %bb.3:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	movl	%eax, %edx
	callq	_IWL_DEBUG_RADIO
LBB0_4:
	movl	$1, %r14d
	movq	%rbx, %rdi
	movl	$1, %esi
	movl	$1, %edx
	callq	_iwl_mvm_sar_select_profile
	movq	_ENOENT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	addl	%eax, %ecx
	cmovel	%r14d, %eax
	jmp	LBB0_5
LBB0_1:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	movl	%eax, %edx
	callq	_IWL_DEBUG_RADIO
	movl	$1, %eax
LBB0_5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"WRDS SAR BIOS table invalid or unavailable. (%d)\n"

L_.str.1:                               ## @.str.1
	.asciz	"EWRD SAR BIOS table invalid or unavailable. (%d)\n"

	.comm	_ENOENT,4,2                     ## @ENOENT
	.no_dead_strip	_iwl_mvm_sar_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iwl_mvm_sar_init
_iwl_mvm_sar_init:                      ; @iwl_mvm_sar_init
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_iwl_mvm_sar_get_wrds_table
	tbnz	w0, #31, LBB0_4
; %bb.1:
	mov	x0, x19
	bl	_iwl_mvm_sar_get_ewrd_table
	tbz	w0, #31, LBB0_3
; %bb.2:
	mov	x2, x0
Lloh0:
	adrp	x1, l_.str.1@PAGE
Lloh1:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_IWL_DEBUG_RADIO
LBB0_3:
	mov	x0, x19
	mov	w1, #1
	mov	w2, #1
	bl	_iwl_mvm_sar_select_profile
Lloh2:
	adrp	x8, _ENOENT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cmn	w0, w8
	csinc	w0, w0, wzr, ne
	b	LBB0_5
LBB0_4:
	mov	x2, x0
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_IWL_DEBUG_RADIO
	mov	w0, #1
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"WRDS SAR BIOS table invalid or unavailable. (%d)\n"

l_.str.1:                               ; @.str.1
	.asciz	"EWRD SAR BIOS table invalid or unavailable. (%d)\n"

	.comm	_ENOENT,4,2                     ; @ENOENT
	.no_dead_strip	_iwl_mvm_sar_init
.subsections_via_symbols
