	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ipu_irq_status                 ## -- Begin function ipu_irq_status
	.p2align	4, 0x90
_ipu_irq_status:                        ## @ipu_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
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	callq	_irq_get_chip_data
	movq	%rax, %rbx
	movq	_bank_lock@GOTPCREL(%rip), %rdi
	callq	_raw_spin_lock_irqsave
	movq	8(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movl	(%rax), %esi
	movl	4(%rax), %edi
	callq	_ipu_read_reg
	movl	(%rbx), %ecx
	xorl	%ebx, %ebx
	btl	%ecx, %eax
	setb	%bl
	jmp	LBB0_3
LBB0_1:
	xorl	%ebx, %ebx
LBB0_3:
	movq	_bank_lock@GOTPCREL(%rip), %rdi
	callq	_raw_spin_unlock_irqrestore
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_bank_lock,4,2                  ## @bank_lock
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ipu_irq_status                 ; -- Begin function ipu_irq_status
	.p2align	2
_ipu_irq_status:                        ; @ipu_irq_status
	.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
	bl	_irq_get_chip_data
	mov	x19, x0
Lloh0:
	adrp	x0, _bank_lock@GOTPAGE
Lloh1:
	ldr	x0, [x0, _bank_lock@GOTPAGEOFF]
	bl	_raw_spin_lock_irqsave
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_2
; %bb.1:
	ldp	w1, w0, [x8]
	bl	_ipu_read_reg
	ldr	w8, [x19]
	and	x8, x8, #0x1f
	lsr	x8, x0, x8
	and	w19, w8, #0x1
	b	LBB0_3
LBB0_2:
	mov	w19, #0
LBB0_3:
Lloh2:
	adrp	x0, _bank_lock@GOTPAGE
Lloh3:
	ldr	x0, [x0, _bank_lock@GOTPAGEOFF]
	bl	_raw_spin_unlock_irqrestore
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_bank_lock,4,2                  ; @bank_lock
.subsections_via_symbols
