	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function of_empty_ranges_quirk
_of_empty_ranges_quirk:                 ## @of_empty_ranges_quirk
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	_CONFIG_PPC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_IS_ENABLED
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_of_device_is_compatible
	movq	%rax, %rcx
	movl	$1, %eax
	testq	%rcx, %rcx
	jne	LBB0_7
## %bb.3:
	movl	_of_empty_ranges_quirk.quirk_state(%rip), %eax
	testl	%eax, %eax
	jns	LBB0_7
## %bb.4:
	leaq	L_.str.1(%rip), %rdi
	callq	_of_machine_is_compatible
	movq	%rax, %rcx
	movl	$1, %eax
	testq	%rcx, %rcx
	jne	LBB0_6
## %bb.5:
	leaq	L_.str.2(%rip), %rdi
	callq	_of_machine_is_compatible
	movq	%rax, %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	setne	%al
LBB0_6:
	movl	%eax, _of_empty_ranges_quirk.quirk_state(%rip)
	jmp	LBB0_7
LBB0_1:
	xorl	%eax, %eax
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CONFIG_PPC,4,2                 ## @CONFIG_PPC
	.section	__DATA,__data
	.p2align	2                               ## @of_empty_ranges_quirk.quirk_state
_of_empty_ranges_quirk.quirk_state:
	.long	4294967295                      ## 0xffffffff

	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"1682m-sdc"

L_.str.1:                               ## @.str.1
	.asciz	"Power Macintosh"

L_.str.2:                               ## @.str.2
	.asciz	"MacRISC"

	.no_dead_strip	_of_empty_ranges_quirk
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function of_empty_ranges_quirk
_of_empty_ranges_quirk:                 ; @of_empty_ranges_quirk
	.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
Lloh0:
	adrp	x8, _CONFIG_PPC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CONFIG_PPC@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_IS_ENABLED
	cbz	x0, LBB0_8
; %bb.1:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_of_device_is_compatible
	cbz	x0, LBB0_3
; %bb.2:
	mov	w0, #1
	b	LBB0_8
LBB0_3:
	adrp	x19, _of_empty_ranges_quirk.quirk_state@PAGE
	ldr	w0, [x19, _of_empty_ranges_quirk.quirk_state@PAGEOFF]
	tbz	w0, #31, LBB0_8
; %bb.4:
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_of_machine_is_compatible
	cbz	x0, LBB0_6
; %bb.5:
	mov	w0, #1
	b	LBB0_7
LBB0_6:
Lloh7:
	adrp	x0, l_.str.2@PAGE
Lloh8:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_of_machine_is_compatible
	cmp	x0, #0
	cset	w0, ne
LBB0_7:
	str	w0, [x19, _of_empty_ranges_quirk.quirk_state@PAGEOFF]
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_CONFIG_PPC,4,2                 ; @CONFIG_PPC
	.section	__DATA,__data
	.p2align	2                               ; @of_empty_ranges_quirk.quirk_state
_of_empty_ranges_quirk.quirk_state:
	.long	4294967295                      ; 0xffffffff

	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"1682m-sdc"

l_.str.1:                               ; @.str.1
	.asciz	"Power Macintosh"

l_.str.2:                               ; @.str.2
	.asciz	"MacRISC"

	.no_dead_strip	_of_empty_ranges_quirk
.subsections_via_symbols
