	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ssp_get_scr
_ssp_get_scr:                           ## @ssp_get_scr
	.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, %r14
	movq	_SSCR0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ssp_read_reg
	movl	%eax, %ebx
	xorl	%eax, %eax
	callq	_cpu_is_pxa25x
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	(%r14), %rax
	movq	_PXA25x_SSP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.2:
	movl	$2, %eax
	movl	$510, %edx                      ## imm = 0x1FE
	movl	$7, %ecx
	jmp	LBB0_4
LBB0_3:
	movl	$1, %eax
	movl	$4095, %edx                     ## imm = 0xFFF
	movl	$8, %ecx
LBB0_4:
                                        ## kill: def $cl killed $cl killed $ecx
	shrl	%cl, %ebx
	andl	%edx, %ebx
	addl	%eax, %ebx
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SSCR0,4,2                      ## @SSCR0
	.comm	_PXA25x_SSP,8,3                 ## @PXA25x_SSP
	.no_dead_strip	_ssp_get_scr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ssp_get_scr
_ssp_get_scr:                           ; @ssp_get_scr
	.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	x20, x0
Lloh0:
	adrp	x8, _SSCR0@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SSCR0@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_ssp_read_reg
	mov	x19, x0
	bl	_cpu_is_pxa25x
	cbz	x0, LBB0_3
; %bb.1:
	ldr	x8, [x20]
Lloh3:
	adrp	x9, _PXA25x_SSP@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PXA25x_SSP@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.2:
	mov	w8, #2
	mov	w9, #510
	mov	w10, #7
	b	LBB0_4
LBB0_3:
	mov	w8, #1
	mov	w9, #4095
	mov	w10, #8
LBB0_4:
	lsr	w10, w19, w10
	and	w9, w10, w9
	add	w0, w9, w8
	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 AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_SSCR0,4,2                      ; @SSCR0
	.comm	_PXA25x_SSP,8,3                 ; @PXA25x_SSP
	.no_dead_strip	_ssp_get_scr
.subsections_via_symbols
