	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ar9003_mci_is_gpm_valid
_ar9003_mci_is_gpm_valid:               ## @ar9003_mci_is_gpm_valid
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_MCI_GPM_INVALID@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	cmpl	%esi, (%rcx)
	je	LBB0_2
## %bb.1:
	shll	$4, %esi
	movslq	%esi, %rax
	addq	(%rdi), %rax
	movq	%rax, %rdi
	callq	_MCI_GPM_TYPE
	movl	%eax, %ecx
	movq	_MCI_GPM_RSVD_PATTERN@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	cmpl	(%rdx), %ecx
	setne	%al
LBB0_2:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MCI_GPM_INVALID,4,2            ## @MCI_GPM_INVALID
	.comm	_MCI_GPM_RSVD_PATTERN,4,2       ## @MCI_GPM_RSVD_PATTERN
	.no_dead_strip	_ar9003_mci_is_gpm_valid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ar9003_mci_is_gpm_valid
_ar9003_mci_is_gpm_valid:               ; @ar9003_mci_is_gpm_valid
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _MCI_GPM_INVALID@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MCI_GPM_INVALID@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w1
	b.ne	LBB0_2
; %bb.1:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_2:
	lsl	w8, w1, #4
	ldr	x9, [x0]
	add	x0, x9, w8, sxtw
	bl	_MCI_GPM_TYPE
Lloh3:
	adrp	x8, _MCI_GPM_RSVD_PATTERN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MCI_GPM_RSVD_PATTERN@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w0, w8
	cset	w0, ne
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_MCI_GPM_INVALID,4,2            ; @MCI_GPM_INVALID
	.comm	_MCI_GPM_RSVD_PATTERN,4,2       ; @MCI_GPM_RSVD_PATTERN
	.no_dead_strip	_ar9003_mci_is_gpm_valid
.subsections_via_symbols
