	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cdns_i3c_master_interrupt
_cdns_i3c_master_interrupt:             ## @cdns_i3c_master_interrupt
	.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	_MST_ISR@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	8(%rsi), %rdi
	callq	_readl
	movl	%eax, %r14d
	movq	_MST_IMR@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	_cdns_i3c_master_end_xfer_locked
	movq	%rbx, %rdi
	callq	_spin_unlock
	movq	_MST_INT_IBIR_THR@GOTPCREL(%rip), %rax
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %r15
	testl	%r14d, (%rax)
	je	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	callq	_cnds_i3c_master_demux_ibis
	jmp	LBB0_4
LBB0_1:
	movq	_IRQ_NONE@GOTPCREL(%rip), %r15
LBB0_4:
	movl	(%r15), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MST_ISR,8,3                    ## @MST_ISR
	.comm	_MST_IMR,8,3                    ## @MST_IMR
	.comm	_IRQ_NONE,4,2                   ## @IRQ_NONE
	.comm	_MST_INT_IBIR_THR,4,2           ## @MST_INT_IBIR_THR
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_cdns_i3c_master_interrupt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cdns_i3c_master_interrupt
_cdns_i3c_master_interrupt:             ; @cdns_i3c_master_interrupt
	.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, x1
	ldr	x8, [x1, #8]
Lloh0:
	adrp	x9, _MST_ISR@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MST_ISR@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_readl
	mov	x20, x0
	ldr	x8, [x19, #8]
Lloh3:
	adrp	x9, _MST_IMR@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MST_IMR@GOTPAGEOFF]
Lloh5:
	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	_cdns_i3c_master_end_xfer_locked
	mov	x0, x19
	bl	_spin_unlock
Lloh6:
	adrp	x8, _MST_INT_IBIR_THR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MST_INT_IBIR_THR@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_3
; %bb.2:
	mov	x0, x19
	bl	_cnds_i3c_master_demux_ibis
LBB0_3:
Lloh9:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh10:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
Lloh11:
	adrp	x8, _IRQ_NONE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _IRQ_NONE@GOTPAGEOFF]
LBB0_5:
	ldr	w0, [x8]
	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	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_MST_ISR,8,3                    ; @MST_ISR
	.comm	_MST_IMR,8,3                    ; @MST_IMR
	.comm	_IRQ_NONE,4,2                   ; @IRQ_NONE
	.comm	_MST_INT_IBIR_THR,4,2           ; @MST_INT_IBIR_THR
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_cdns_i3c_master_interrupt
.subsections_via_symbols
