	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function extract_sprg
_extract_sprg:                          ## @extract_sprg
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rdi, %rax
	shrq	$16, %rax
	movl	%eax, %ecx
	andl	$31, %ecx
	cmpq	$4, %rcx
	jb	LBB0_5
## %bb.1:
	testl	$256, %edi                      ## imm = 0x100
	je	LBB0_3
## %bb.2:
	cmpl	$16, %ecx
	jae	LBB0_3
LBB0_5:
	movl	$1, (%rdx)
LBB0_6:
	andl	$7, %eax
	popq	%rbp
	retq
LBB0_3:
	andl	$1835008, %edi                  ## imm = 0x1C0000
	cmpl	$1048576, %edi                  ## imm = 0x100000
	je	LBB0_6
## %bb.4:
	movq	_PPC_OPCODE_BOOKE@GOTPCREL(%rip), %rcx
	movq	_PPC_OPCODE_403@GOTPCREL(%rip), %rdi
	movl	(%rdi), %edi
	orl	(%rcx), %edi
	testl	%esi, %edi
	jne	LBB0_6
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.comm	_PPC_OPCODE_BOOKE,4,2           ## @PPC_OPCODE_BOOKE
	.comm	_PPC_OPCODE_403,4,2             ## @PPC_OPCODE_403
	.no_dead_strip	_extract_sprg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function extract_sprg
_extract_sprg:                          ; @extract_sprg
	.cfi_startproc
; %bb.0:
	ubfx	x8, x0, #16, #5
	cmp	x8, #4
	b.lo	LBB0_3
; %bb.1:
	tbz	w0, #8, LBB0_5
; %bb.2:
	cmp	x8, #16
	b.hs	LBB0_5
LBB0_3:
	mov	w8, #1
	str	w8, [x2]
LBB0_4:
	ubfx	x0, x0, #16, #3
	ret
LBB0_5:
	and	x8, x0, #0x1c0000
	cmp	x8, #256, lsl #12               ; =1048576
	b.eq	LBB0_4
; %bb.6:
Lloh0:
	adrp	x8, _PPC_OPCODE_BOOKE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PPC_OPCODE_BOOKE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _PPC_OPCODE_403@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PPC_OPCODE_403@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
	tst	w8, w1
	b.ne	LBB0_4
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PPC_OPCODE_BOOKE,4,2           ; @PPC_OPCODE_BOOKE
	.comm	_PPC_OPCODE_403,4,2             ; @PPC_OPCODE_403
	.no_dead_strip	_extract_sprg
.subsections_via_symbols
