	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mbox_test_prepare_message
_mbox_test_prepare_message:             ## @mbox_test_prepare_message
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rsi, %rbx
	movl	(%rdi), %edi
	callq	_dev_get_drvdata
	movq	8(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.1:
	cmpq	$0, 16(%rax)
	je	LBB0_3
## %bb.2:
	movq	(%rax), %rbx
LBB0_3:
	movq	_MBOX_MAX_MSG_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_memcpy_toio                    ## TAILCALL
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MBOX_MAX_MSG_LEN,4,2           ## @MBOX_MAX_MSG_LEN
	.no_dead_strip	_mbox_test_prepare_message
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mbox_test_prepare_message
_mbox_test_prepare_message:             ; @mbox_test_prepare_message
	.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	w0, [x0]
	bl	_dev_get_drvdata
	mov	x8, x0
	ldr	x0, [x0, #8]
	cbz	x0, LBB0_4
; %bb.1:
	ldr	x9, [x8, #16]
	cbz	x9, LBB0_3
; %bb.2:
	ldr	x19, [x8]
LBB0_3:
Lloh0:
	adrp	x8, _MBOX_MAX_MSG_LEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MBOX_MAX_MSG_LEN@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x1, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_memcpy_toio
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MBOX_MAX_MSG_LEN,4,2           ; @MBOX_MAX_MSG_LEN
	.no_dead_strip	_mbox_test_prepare_message
.subsections_via_symbols
