	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dw_i3c_master_irq_handler
_dw_i3c_master_irq_handler:             ## @dw_i3c_master_irq_handler
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	_INTR_STATUS@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	addq	8(%rsi), %rdi
	callq	_readl
	movl	%eax, %r14d
	movq	_INTR_STATUS_EN@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	8(%rbx), %rdi
	callq	_readl
	testl	%r14d, %eax
	je	LBB0_1
## %bb.2:
	movq	%rbx, %rdi
	callq	_spin_lock
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_dw_i3c_master_end_xfer_locked
	movq	_INTR_TRANSFER_ERR_STAT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	testl	%r14d, %edi
	je	LBB0_4
## %bb.3:
	movq	(%r15), %rsi
	addq	8(%rbx), %rsi
	callq	_writel
LBB0_4:
	movq	%rbx, %rdi
	callq	_spin_unlock
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_1:
	movq	_INTR_ALL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%r15), %rsi
	addq	8(%rbx), %rsi
	callq	_writel
	movq	_IRQ_NONE@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_INTR_STATUS,8,3                ## @INTR_STATUS
	.comm	_INTR_STATUS_EN,8,3             ## @INTR_STATUS_EN
	.comm	_INTR_ALL,4,2                   ## @INTR_ALL
	.comm	_IRQ_NONE,4,2                   ## @IRQ_NONE
	.comm	_INTR_TRANSFER_ERR_STAT,4,2     ## @INTR_TRANSFER_ERR_STAT
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_dw_i3c_master_irq_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dw_i3c_master_irq_handler
_dw_i3c_master_irq_handler:             ; @dw_i3c_master_irq_handler
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x1
	ldr	x8, [x1, #8]
Lloh0:
	adrp	x21, _INTR_STATUS@GOTPAGE
Lloh1:
	ldr	x21, [x21, _INTR_STATUS@GOTPAGEOFF]
	ldr	x9, [x21]
	add	x0, x9, x8
	bl	_readl
	mov	x20, x0
	ldr	x8, [x19, #8]
Lloh2:
	adrp	x9, _INTR_STATUS_EN@GOTPAGE
Lloh3:
	ldr	x9, [x9, _INTR_STATUS_EN@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_readl
	tst	w0, w20
	b.eq	LBB0_4
; %bb.1:
	mov	x0, x19
	bl	_spin_lock
	mov	x0, x19
	mov	x1, x20
	bl	_dw_i3c_master_end_xfer_locked
Lloh5:
	adrp	x8, _INTR_TRANSFER_ERR_STAT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _INTR_TRANSFER_ERR_STAT@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	tst	w0, w20
	b.eq	LBB0_3
; %bb.2:
	ldr	x8, [x19, #8]
	ldr	x9, [x21]
	add	x1, x9, x8
	bl	_writel
LBB0_3:
	mov	x0, x19
	bl	_spin_unlock
Lloh8:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh9:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
Lloh10:
	adrp	x8, _INTR_ALL@GOTPAGE
Lloh11:
	ldr	x8, [x8, _INTR_ALL@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	ldr	x8, [x19, #8]
	ldr	x9, [x21]
	add	x1, x9, x8
	bl	_writel
Lloh13:
	adrp	x8, _IRQ_NONE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _IRQ_NONE@GOTPAGEOFF]
LBB0_5:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_INTR_STATUS,8,3                ; @INTR_STATUS
	.comm	_INTR_STATUS_EN,8,3             ; @INTR_STATUS_EN
	.comm	_INTR_ALL,4,2                   ; @INTR_ALL
	.comm	_IRQ_NONE,4,2                   ; @IRQ_NONE
	.comm	_INTR_TRANSFER_ERR_STAT,4,2     ; @INTR_TRANSFER_ERR_STAT
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_dw_i3c_master_irq_handler
.subsections_via_symbols
