	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function zynqmp_ipi_peek_data
_zynqmp_ipi_peek_data:                  ## @zynqmp_ipi_peek_data
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	8(%rdi), %rax
	movq	(%rax), %r15
	movq	%r15, %rdi
	callq	_dev_get_drvdata
	movq	%rax, %r14
	movq	(%rbx), %r12
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_WARN_ON
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_err
LBB0_7:
	xorl	%ebx, %ebx
LBB0_8:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	_SMC_IPI_MAILBOX_STATUS_ENQUIRY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%ebx, %ebx
	leaq	-40(%rbp), %rcx
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_zynqmp_ipi_fw_call
	movl	-40(%rbp), %eax
	movq	(%r12), %rcx
	movq	_IPI_MB_CHNL_TX@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_5
## %bb.3:
	testl	%eax, %eax
	js	LBB0_8
## %bb.4:
	movq	_IPI_MB_STATUS_SEND_PENDING@GOTPCREL(%rip), %rcx
	xorl	%ebx, %ebx
	testl	%eax, (%rcx)
	sete	%bl
	jmp	LBB0_8
LBB0_5:
	testl	%eax, %eax
	jle	LBB0_7
## %bb.6:
	movq	_IPI_MB_STATUS_RECV_PENDING@GOTPCREL(%rip), %rcx
	movl	$1, %ebx
	testl	%eax, (%rcx)
	jne	LBB0_8
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"no platform drv data??\n"

	.comm	_SMC_IPI_MAILBOX_STATUS_ENQUIRY,4,2 ## @SMC_IPI_MAILBOX_STATUS_ENQUIRY
	.comm	_IPI_MB_CHNL_TX,8,3             ## @IPI_MB_CHNL_TX
	.comm	_IPI_MB_STATUS_SEND_PENDING,4,2 ## @IPI_MB_STATUS_SEND_PENDING
	.comm	_IPI_MB_STATUS_RECV_PENDING,4,2 ## @IPI_MB_STATUS_RECV_PENDING
	.no_dead_strip	_zynqmp_ipi_peek_data
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function zynqmp_ipi_peek_data
_zynqmp_ipi_peek_data:                  ; @zynqmp_ipi_peek_data
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x21, x0
	ldr	x8, [x0, #8]
	ldr	x20, [x8]
	mov	x0, x20
	bl	_dev_get_drvdata
	mov	x19, x0
	ldr	x21, [x21]
	cmp	x0, #0
	cset	w0, eq
	bl	_WARN_ON
	cbz	x0, LBB0_4
; %bb.1:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_dev_err
LBB0_2:
	mov	w0, #0
LBB0_3:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_4:
Lloh2:
	adrp	x8, _SMC_IPI_MAILBOX_STATUS_ENQUIRY@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SMC_IPI_MAILBOX_STATUS_ENQUIRY@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	add	x3, sp, #8
	mov	x0, x19
	mov	w2, #0
	bl	_zynqmp_ipi_fw_call
	ldr	w8, [sp, #8]
	ldr	x9, [x21]
Lloh5:
	adrp	x10, _IPI_MB_CHNL_TX@GOTPAGE
Lloh6:
	ldr	x10, [x10, _IPI_MB_CHNL_TX@GOTPAGEOFF]
Lloh7:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_7
; %bb.5:
	tbnz	w8, #31, LBB0_2
; %bb.6:
Lloh8:
	adrp	x9, _IPI_MB_STATUS_SEND_PENDING@GOTPAGE
Lloh9:
	ldr	x9, [x9, _IPI_MB_STATUS_SEND_PENDING@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w0, eq
	b	LBB0_3
LBB0_7:
	cmp	w8, #1
	b.lt	LBB0_2
; %bb.8:
Lloh11:
	adrp	x9, _IPI_MB_STATUS_RECV_PENDING@GOTPAGE
Lloh12:
	ldr	x9, [x9, _IPI_MB_STATUS_RECV_PENDING@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.9:
	mov	w0, #1
	b	LBB0_3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"no platform drv data??\n"

	.comm	_SMC_IPI_MAILBOX_STATUS_ENQUIRY,4,2 ; @SMC_IPI_MAILBOX_STATUS_ENQUIRY
	.comm	_IPI_MB_CHNL_TX,8,3             ; @IPI_MB_CHNL_TX
	.comm	_IPI_MB_STATUS_SEND_PENDING,4,2 ; @IPI_MB_STATUS_SEND_PENDING
	.comm	_IPI_MB_STATUS_RECV_PENDING,4,2 ; @IPI_MB_STATUS_RECV_PENDING
	.no_dead_strip	_zynqmp_ipi_peek_data
.subsections_via_symbols
