	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function zynqmp_ipi_send_data
_zynqmp_ipi_send_data:                  ## @zynqmp_ipi_send_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	%rsi, %r15
	movq	%rdi, %rbx
	movq	8(%rdi), %rax
	movq	(%rax), %r12
	movq	%r12, %rdi
	callq	_dev_get_drvdata
	movq	%rax, %r14
	movq	(%rbx), %rbx
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_WARN_ON
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	leaq	L_.str(%rip), %rsi
	xorl	%ebx, %ebx
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_dev_err
LBB0_2:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
LBB0_15:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	(%rbx), %rdx
	movq	_IPI_MB_CHNL_TX@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdx
	jne	LBB0_10
## %bb.4:
	testq	%r15, %r15
	je	LBB0_9
## %bb.5:
	movq	(%r15), %rcx
	movq	8(%rbx), %r8
	cmpq	%r8, %rcx
	jg	LBB0_6
## %bb.7:
	testq	%rcx, %rcx
	je	LBB0_9
## %bb.8:
	movl	28(%rbx), %edi
	movl	8(%r15), %esi
	movq	%rcx, %rdx
	callq	_memcpy_toio
LBB0_9:
	movq	_SMC_IPI_MAILBOX_NOTIFY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%ebx, %ebx
	leaq	-40(%rbp), %rcx
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_zynqmp_ipi_fw_call
	jmp	LBB0_15
LBB0_10:
	testq	%r15, %r15
	je	LBB0_14
## %bb.11:
	movq	(%r15), %rcx
	movq	16(%rbx), %r8
	cmpq	%r8, %rcx
	jle	LBB0_12
LBB0_6:
	leaq	L_.str.1(%rip), %rsi
	xorl	%ebx, %ebx
	movq	%r12, %rdi
                                        ## kill: def $ecx killed $ecx killed $rcx
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_2
LBB0_12:
	testq	%rcx, %rcx
	je	LBB0_14
## %bb.13:
	movl	24(%rbx), %edi
	movl	8(%r15), %esi
	movq	%rcx, %rdx
	callq	_memcpy_toio
LBB0_14:
	movq	_SMC_IPI_MAILBOX_ACK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_IPI_SMC_ACK_EIRQ_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-40(%rbp), %rcx
	movq	%r14, %rdi
	callq	_zynqmp_ipi_fw_call
	xorl	%ebx, %ebx
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"no platform drv data??\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_IPI_MB_CHNL_TX,8,3             ## @IPI_MB_CHNL_TX
L_.str.1:                               ## @.str.1
	.asciz	"channel %d message length %u > max %lu\n"

	.comm	_SMC_IPI_MAILBOX_NOTIFY,4,2     ## @SMC_IPI_MAILBOX_NOTIFY
	.comm	_SMC_IPI_MAILBOX_ACK,4,2        ## @SMC_IPI_MAILBOX_ACK
	.comm	_IPI_SMC_ACK_EIRQ_MASK,4,2      ## @IPI_SMC_ACK_EIRQ_MASK
	.no_dead_strip	_zynqmp_ipi_send_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_send_data
_zynqmp_ipi_send_data:                  ; @zynqmp_ipi_send_data
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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, x1
	mov	x22, x0
	ldr	x8, [x0, #8]
	ldr	x20, [x8]
	mov	x0, x20
	bl	_dev_get_drvdata
	mov	x19, x0
	ldr	x22, [x22]
	cmp	x0, #0
	cset	w0, eq
	bl	_WARN_ON
	cbz	x0, LBB0_3
; %bb.1:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
LBB0_2:
	mov	x0, x20
	bl	_dev_err
Lloh2:
	adrp	x8, _EINVAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_16
LBB0_3:
	ldr	x8, [x22]
Lloh5:
	adrp	x9, _IPI_MB_CHNL_TX@GOTPAGE
Lloh6:
	ldr	x9, [x9, _IPI_MB_CHNL_TX@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_9
; %bb.4:
	cbz	x21, LBB0_8
; %bb.5:
	ldr	x2, [x21]
	ldr	x9, [x22, #8]
	cmp	x2, x9
	b.gt	LBB0_11
; %bb.6:
	cbz	x2, LBB0_8
; %bb.7:
	ldr	w0, [x22, #28]
	ldr	w1, [x21, #8]
	bl	_memcpy_toio
LBB0_8:
Lloh8:
	adrp	x8, _SMC_IPI_MAILBOX_NOTIFY@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SMC_IPI_MAILBOX_NOTIFY@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	add	x3, sp, #24
	mov	x0, x19
	mov	w2, #0
	b	LBB0_15
LBB0_9:
	cbz	x21, LBB0_14
; %bb.10:
	ldr	x2, [x21]
	ldr	x9, [x22, #16]
	cmp	x2, x9
	b.le	LBB0_12
LBB0_11:
	stp	x2, x9, [sp, #8]
	str	x8, [sp]
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_2
LBB0_12:
	cbz	x2, LBB0_14
; %bb.13:
	ldr	w0, [x22, #24]
	ldr	w1, [x21, #8]
	bl	_memcpy_toio
LBB0_14:
Lloh13:
	adrp	x8, _SMC_IPI_MAILBOX_ACK@GOTPAGE
Lloh14:
	ldr	x8, [x8, _SMC_IPI_MAILBOX_ACK@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
Lloh16:
	adrp	x8, _IPI_SMC_ACK_EIRQ_MASK@GOTPAGE
Lloh17:
	ldr	x8, [x8, _IPI_SMC_ACK_EIRQ_MASK@GOTPAGEOFF]
Lloh18:
	ldr	w2, [x8]
	add	x3, sp, #24
	mov	x0, x19
LBB0_15:
	bl	_zynqmp_ipi_fw_call
	mov	w0, #0
LBB0_16:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"no platform drv data??\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_IPI_MB_CHNL_TX,8,3             ; @IPI_MB_CHNL_TX
l_.str.1:                               ; @.str.1
	.asciz	"channel %d message length %u > max %lu\n"

	.comm	_SMC_IPI_MAILBOX_NOTIFY,4,2     ; @SMC_IPI_MAILBOX_NOTIFY
	.comm	_SMC_IPI_MAILBOX_ACK,4,2        ; @SMC_IPI_MAILBOX_ACK
	.comm	_IPI_SMC_ACK_EIRQ_MASK,4,2      ; @IPI_SMC_ACK_EIRQ_MASK
	.no_dead_strip	_zynqmp_ipi_send_data
.subsections_via_symbols
