	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mbox_test_receive_message
_mbox_test_receive_message:             ## @mbox_test_receive_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	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movl	(%rdi), %edi
	callq	_dev_get_drvdata
	movq	%rax, %rbx
	leaq	16(%rax), %r14
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	movq	24(%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_2
## %bb.1:
	movq	(%rbx), %rdi
	movq	_MBOX_MAX_MSG_LEN@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	callq	_memcpy_fromio
	movq	_DUMP_PREFIX_ADDRESS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	(%rbx), %rdx
	movl	(%r15), %ecx
	leaq	L_.str(%rip), %rdi
	callq	_print_hex_dump_bytes
	jmp	LBB0_4
LBB0_2:
	testq	%r15, %r15
	je	LBB0_4
## %bb.3:
	movq	_DUMP_PREFIX_ADDRESS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MBOX_MAX_MSG_LEN@GOTPCREL(%rip), %r12
	movl	(%r12), %ecx
	leaq	L_.str.1(%rip), %rdi
	movq	%r15, %rdx
	callq	_print_hex_dump_bytes
	movq	(%rbx), %rdi
	movl	(%r12), %edx
	movq	%r15, %rsi
	callq	_memcpy
LBB0_4:
	movq	_mbox_data_ready@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	movq	%r14, %rdi
	callq	_spin_unlock_irqrestore
	leaq	12(%rbx), %rdi
	callq	_wake_up_interruptible
	addq	$8, %rbx
	movq	_SIGIO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_POLL_IN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_kill_fasync                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MBOX_MAX_MSG_LEN,4,2           ## @MBOX_MAX_MSG_LEN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Client: Received [MMIO]: "

	.comm	_DUMP_PREFIX_ADDRESS,4,2        ## @DUMP_PREFIX_ADDRESS
L_.str.1:                               ## @.str.1
	.asciz	"Client: Received [API]: "

	.comm	_mbox_data_ready,4,2            ## @mbox_data_ready
	.comm	_SIGIO,4,2                      ## @SIGIO
	.comm	_POLL_IN,4,2                    ## @POLL_IN
	.no_dead_strip	_mbox_test_receive_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_receive_message
_mbox_test_receive_message:             ; @mbox_test_receive_message
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	ldr	w0, [x0]
	bl	_dev_get_drvdata
	mov	x19, x0
	add	x20, x0, #16
	mov	x0, x20
	bl	_spin_lock_irqsave
	ldr	x1, [x19, #24]
	cbz	x1, LBB0_2
; %bb.1:
	ldr	x0, [x19]
Lloh0:
	adrp	x21, _MBOX_MAX_MSG_LEN@GOTPAGE
Lloh1:
	ldr	x21, [x21, _MBOX_MAX_MSG_LEN@GOTPAGEOFF]
	ldr	w2, [x21]
	bl	_memcpy_fromio
Lloh2:
	adrp	x8, _DUMP_PREFIX_ADDRESS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _DUMP_PREFIX_ADDRESS@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	ldr	x2, [x19]
	ldr	w3, [x21]
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	bl	_print_hex_dump_bytes
	b	LBB0_4
LBB0_2:
	cbz	x21, LBB0_4
; %bb.3:
Lloh7:
	adrp	x8, _DUMP_PREFIX_ADDRESS@GOTPAGE
Lloh8:
	ldr	x8, [x8, _DUMP_PREFIX_ADDRESS@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
Lloh10:
	adrp	x22, _MBOX_MAX_MSG_LEN@GOTPAGE
Lloh11:
	ldr	x22, [x22, _MBOX_MAX_MSG_LEN@GOTPAGEOFF]
	ldr	w3, [x22]
Lloh12:
	adrp	x0, l_.str.1@PAGE
Lloh13:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x2, x21
	bl	_print_hex_dump_bytes
	ldr	x0, [x19]
	ldr	w2, [x22]
	mov	x1, x21
	bl	_memcpy
LBB0_4:
Lloh14:
	adrp	x8, _mbox_data_ready@GOTPAGE
Lloh15:
	ldr	x8, [x8, _mbox_data_ready@GOTPAGEOFF]
	mov	w9, #1
Lloh16:
	str	w9, [x8]
	mov	x0, x20
	bl	_spin_unlock_irqrestore
	add	x0, x19, #12
	bl	_wake_up_interruptible
	add	x0, x19, #8
Lloh17:
	adrp	x8, _SIGIO@GOTPAGE
Lloh18:
	ldr	x8, [x8, _SIGIO@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
Lloh20:
	adrp	x8, _POLL_IN@GOTPAGE
Lloh21:
	ldr	x8, [x8, _POLL_IN@GOTPAGEOFF]
Lloh22:
	ldr	w2, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_kill_fasync
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotStr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_MBOX_MAX_MSG_LEN,4,2           ; @MBOX_MAX_MSG_LEN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Client: Received [MMIO]: "

	.comm	_DUMP_PREFIX_ADDRESS,4,2        ; @DUMP_PREFIX_ADDRESS
l_.str.1:                               ; @.str.1
	.asciz	"Client: Received [API]: "

	.comm	_mbox_data_ready,4,2            ; @mbox_data_ready
	.comm	_SIGIO,4,2                      ; @SIGIO
	.comm	_POLL_IN,4,2                    ; @POLL_IN
	.no_dead_strip	_mbox_test_receive_message
.subsections_via_symbols
