	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cdn_dp_mailbox_send
_cdn_dp_mailbox_send:                   ## @cdn_dp_mailbox_send
	.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	%r8, %r14
	movl	%ecx, %r12d
	movl	%esi, %ebx
	movq	%rdi, %r15
	movl	%edx, %esi
	callq	_cdp_dp_mailbox_write
	testl	%eax, %eax
	jne	LBB0_9
## %bb.1:
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_cdp_dp_mailbox_write
	testl	%eax, %eax
	jne	LBB0_9
## %bb.2:
	movl	%r12d, %eax
	movzbl	%ah, %esi
	movq	%r15, %rdi
	callq	_cdp_dp_mailbox_write
	testl	%eax, %eax
	jne	LBB0_9
## %bb.3:
	movl	%r12d, %eax
	movzbl	%al, %esi
	movq	%r15, %rdi
	callq	_cdp_dp_mailbox_write
	testl	%eax, %eax
	je	LBB0_4
LBB0_9:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	testl	%r12d, %r12d
	jle	LBB0_5
## %bb.6:
	movl	%r12d, %r12d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r14,%rbx,4), %esi
	movq	%r15, %rdi
	callq	_cdp_dp_mailbox_write
	testl	%eax, %eax
	jne	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_8 Depth=1
	incq	%rbx
	xorl	%eax, %eax
	cmpq	%rbx, %r12
	jne	LBB0_8
	jmp	LBB0_9
LBB0_5:
	xorl	%eax, %eax
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_cdn_dp_mailbox_send
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cdn_dp_mailbox_send
_cdn_dp_mailbox_send:                   ; @cdn_dp_mailbox_send
	.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	x19, x4
	mov	x21, x3
	mov	x22, x1
	mov	x20, x0
	mov	x1, x2
	bl	_cdp_dp_mailbox_write
	cbnz	w0, LBB0_4
; %bb.1:
	mov	x0, x20
	mov	x1, x22
	bl	_cdp_dp_mailbox_write
	cbnz	w0, LBB0_4
; %bb.2:
	ubfx	w1, w21, #8, #8
	mov	x0, x20
	bl	_cdp_dp_mailbox_write
	cbnz	w0, LBB0_4
; %bb.3:
	and	w1, w21, #0xff
	mov	x0, x20
	bl	_cdp_dp_mailbox_write
	cbz	w0, LBB0_5
LBB0_4:
	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
	ret
LBB0_5:
	cmp	w21, #1
	b.lt	LBB0_9
; %bb.6:
	mov	w21, w21
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x19]
	mov	x0, x20
	bl	_cdp_dp_mailbox_write
	cbnz	w0, LBB0_4
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	add	x19, x19, #4
	subs	x21, x21, #1
	b.ne	LBB0_7
	b	LBB0_4
LBB0_9:
	mov	w0, #0
	b	LBB0_4
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_cdn_dp_mailbox_send
.subsections_via_symbols
