	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SI_GetStatus                   ## -- Begin function SI_GetStatus
	.p2align	4, 0x90
_SI_GetStatus:                          ## @SI_GetStatus
	.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
	movl	%edi, %r14d
	callq	__CPU_ISR_Disable
	movq	__siReg@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	56(%rax), %ebx
	leal	(,%r14,8), %eax
	movb	$24, %cl
	subb	%al, %cl
	sarl	%cl, %ebx
	movq	_SISR_NORESPONSE@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_3
## %bb.1:
	movq	_si_type@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%r14d, %rcx
	movq	_SI_ERR_BUSY@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	testl	%edx, (%rax,%rcx,4)
	jne	LBB0_3
## %bb.2:
	movq	_SI_ERROR_NO_RESPONSE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	%edx, (%rax,%rcx,4)
LBB0_3:
	callq	__CPU_ISR_Restore
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	__siReg,8,3                     ## @_siReg
	.comm	_SISR_NORESPONSE,4,2            ## @SISR_NORESPONSE
	.comm	_si_type,8,3                    ## @si_type
	.comm	_SI_ERR_BUSY,4,2                ## @SI_ERR_BUSY
	.comm	_SI_ERROR_NO_RESPONSE,4,2       ## @SI_ERROR_NO_RESPONSE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SI_GetStatus                   ; -- Begin function SI_GetStatus
	.p2align	2
_SI_GetStatus:                          ; @SI_GetStatus
	.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	__CPU_ISR_Disable
Lloh0:
	adrp	x8, __siReg@GOTPAGE
Lloh1:
	ldr	x8, [x8, __siReg@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	w8, [x8, #56]
	mov	w9, #24
	sub	w9, w9, w19, lsl #3
	asr	w20, w8, w9
Lloh3:
	adrp	x8, _SISR_NORESPONSE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SISR_NORESPONSE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w20, w8
	b.eq	LBB0_3
; %bb.1:
Lloh6:
	adrp	x8, _si_type@GOTPAGE
Lloh7:
	ldr	x8, [x8, _si_type@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	ldr	w9, [x8, w19, sxtw #2]
Lloh9:
	adrp	x10, _SI_ERR_BUSY@GOTPAGE
Lloh10:
	ldr	x10, [x10, _SI_ERR_BUSY@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	tst	w10, w9
	b.ne	LBB0_3
; %bb.2:
	sxtw	x9, w19
Lloh12:
	adrp	x10, _SI_ERROR_NO_RESPONSE@GOTPAGE
Lloh13:
	ldr	x10, [x10, _SI_ERROR_NO_RESPONSE@GOTPAGEOFF]
Lloh14:
	ldr	w10, [x10]
	str	w10, [x8, x9, lsl #2]
LBB0_3:
	bl	__CPU_ISR_Restore
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	__siReg,8,3                     ; @_siReg
	.comm	_SISR_NORESPONSE,4,2            ; @SISR_NORESPONSE
	.comm	_si_type,8,3                    ; @si_type
	.comm	_SI_ERR_BUSY,4,2                ; @SI_ERR_BUSY
	.comm	_SI_ERROR_NO_RESPONSE,4,2       ; @SI_ERROR_NO_RESPONSE
.subsections_via_symbols
