	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function zynqmp_ipi_interrupt
_zynqmp_ipi_interrupt:                  ## @zynqmp_ipi_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_IRQ_NONE@GOTPCREL(%rip), %rax
	cmpl	$0, (%rsi)
	jle	LBB0_8
## %bb.1:
	movq	%rsi, %rbx
	movq	_SMC_IPI_MAILBOX_STATUS_ENQUIRY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movq	_IPI_SMC_ENQUIRY_DIRQ_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	xorl	%r13d, %r13d
	xorl	%r12d, %r12d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%r12
	movslq	(%rbx), %rax
	addq	$16, %r13
	cmpq	%rax, %r12
	jge	LBB0_7
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rbx), %rax
	leaq	(%rax,%r13), %rdi
	movq	(%rax,%r13), %rcx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	8(%rax,%r13), %r14
	movq	_IPI_MB_CHNL_RX@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movl	-56(%rbp), %esi                 ## 4-byte Reload
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	leaq	-48(%rbp), %rcx
	callq	_zynqmp_ipi_fw_call
	movl	-48(%rbp), %eax
	testl	%eax, %eax
	jle	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_IPI_MB_STATUS_RECV_PENDING@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	(%r15,%r15,2), %rax
	cmpq	$0, 16(%r14,%rax,8)
	je	LBB0_6
## %bb.5:
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%r15,4), %r15
	movq	8(%r14,%rax,8), %rbx
	movl	4(%r14,%rax,8), %edx
	movl	%edx, (%rbx)
	movl	4(%rbx), %edi
	movl	(%r14,%rax,8), %esi
	callq	_memcpy_fromio
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_mbox_chan_received_data
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_7:
	movq	_IRQ_NONE@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SMC_IPI_MAILBOX_STATUS_ENQUIRY,4,2 ## @SMC_IPI_MAILBOX_STATUS_ENQUIRY
	.comm	_IPI_SMC_ENQUIRY_DIRQ_MASK,4,2  ## @IPI_SMC_ENQUIRY_DIRQ_MASK
	.comm	_IPI_MB_CHNL_RX,8,3             ## @IPI_MB_CHNL_RX
	.comm	_IPI_MB_STATUS_RECV_PENDING,4,2 ## @IPI_MB_STATUS_RECV_PENDING
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.comm	_IRQ_NONE,4,2                   ## @IRQ_NONE
	.no_dead_strip	_zynqmp_ipi_interrupt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function zynqmp_ipi_interrupt
_zynqmp_ipi_interrupt:                  ; @zynqmp_ipi_interrupt
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	ldr	w8, [x1]
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.1:
	mov	x19, x1
	mov	x22, #0
	mov	x23, #0
Lloh0:
	adrp	x8, _SMC_IPI_MAILBOX_STATUS_ENQUIRY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SMC_IPI_MAILBOX_STATUS_ENQUIRY@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
Lloh3:
	adrp	x8, _IPI_SMC_ENQUIRY_DIRQ_MASK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IPI_SMC_ENQUIRY_DIRQ_MASK@GOTPAGEOFF]
Lloh5:
	adrp	x25, _IPI_MB_CHNL_RX@GOTPAGE
Lloh6:
	ldr	x25, [x25, _IPI_MB_CHNL_RX@GOTPAGEOFF]
Lloh7:
	ldr	w21, [x8]
Lloh8:
	adrp	x26, _IPI_MB_STATUS_RECV_PENDING@GOTPAGE
Lloh9:
	ldr	x26, [x26, _IPI_MB_STATUS_RECV_PENDING@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x23, x23, #1
	ldrsw	x8, [x19]
	add	x22, x22, #16
	cmp	x23, x8
	b.ge	LBB0_7
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	add	x0, x8, x22
	ldr	x28, [x25]
	ldp	x27, x24, [x0]
	add	x3, sp, #8
	mov	x1, x20
	mov	x2, x21
	bl	_zynqmp_ipi_fw_call
	ldr	w8, [sp, #8]
	cmp	w8, #1
	b.lt	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w9, [x26]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w8, #24
	madd	x8, x28, x8, x24
	ldr	x8, [x8, #16]
	cbz	x8, LBB0_2
; %bb.6:
	add	x19, x27, x28, lsl #2
	mov	w8, #24
	madd	x8, x28, x8, x24
	ldr	x20, [x8, #8]
	ldp	w1, w2, [x8]
	str	w2, [x20]
	ldr	w0, [x20, #4]
	bl	_memcpy_fromio
	mov	x0, x19
	mov	x1, x20
	bl	_mbox_chan_received_data
Lloh10:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh11:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:
Lloh12:
	adrp	x8, _IRQ_NONE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _IRQ_NONE@GOTPAGEOFF]
LBB0_8:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_SMC_IPI_MAILBOX_STATUS_ENQUIRY,4,2 ; @SMC_IPI_MAILBOX_STATUS_ENQUIRY
	.comm	_IPI_SMC_ENQUIRY_DIRQ_MASK,4,2  ; @IPI_SMC_ENQUIRY_DIRQ_MASK
	.comm	_IPI_MB_CHNL_RX,8,3             ; @IPI_MB_CHNL_RX
	.comm	_IPI_MB_STATUS_RECV_PENDING,4,2 ; @IPI_MB_STATUS_RECV_PENDING
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.comm	_IRQ_NONE,4,2                   ; @IRQ_NONE
	.no_dead_strip	_zynqmp_ipi_interrupt
.subsections_via_symbols
