	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rotator_reg_get_irq_status
_rotator_reg_get_irq_status:            ## @rotator_reg_get_irq_status
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_ROT_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_rot_read
	movq	%rax, %rdi
	callq	_ROT_STATUS_IRQ
	movq	_ROT_STATUS_IRQ_VAL_COMPLETE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.2:
	movq	_ROT_IRQ_STATUS_COMPLETE@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_ROT_IRQ_STATUS_ILLEGAL@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ROT_STATUS,4,2                 ## @ROT_STATUS
	.comm	_ROT_STATUS_IRQ_VAL_COMPLETE,8,3 ## @ROT_STATUS_IRQ_VAL_COMPLETE
	.comm	_ROT_IRQ_STATUS_COMPLETE,4,2    ## @ROT_IRQ_STATUS_COMPLETE
	.comm	_ROT_IRQ_STATUS_ILLEGAL,4,2     ## @ROT_IRQ_STATUS_ILLEGAL
	.no_dead_strip	_rotator_reg_get_irq_status
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rotator_reg_get_irq_status
_rotator_reg_get_irq_status:            ; @rotator_reg_get_irq_status
	.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, _ROT_STATUS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ROT_STATUS@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_rot_read
	bl	_ROT_STATUS_IRQ
Lloh3:
	adrp	x8, _ROT_STATUS_IRQ_VAL_COMPLETE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ROT_STATUS_IRQ_VAL_COMPLETE@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
Lloh6:
	adrp	x9, _ROT_IRQ_STATUS_COMPLETE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _ROT_IRQ_STATUS_COMPLETE@GOTPAGEOFF]
Lloh8:
	adrp	x10, _ROT_IRQ_STATUS_ILLEGAL@GOTPAGE
Lloh9:
	ldr	x10, [x10, _ROT_IRQ_STATUS_ILLEGAL@GOTPAGEOFF]
	cmp	x0, x8
	csel	x8, x9, x10, eq
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ROT_STATUS,4,2                 ; @ROT_STATUS
	.comm	_ROT_STATUS_IRQ_VAL_COMPLETE,8,3 ; @ROT_STATUS_IRQ_VAL_COMPLETE
	.comm	_ROT_IRQ_STATUS_COMPLETE,4,2    ; @ROT_IRQ_STATUS_COMPLETE
	.comm	_ROT_IRQ_STATUS_ILLEGAL,4,2     ; @ROT_IRQ_STATUS_ILLEGAL
	.no_dead_strip	_rotator_reg_get_irq_status
.subsections_via_symbols
