	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_otx2_mbox_reset                ## -- Begin function otx2_mbox_reset
	.p2align	4, 0x90
_otx2_mbox_reset:                       ## @otx2_mbox_reset
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	8(%rdi), %r15
	movslq	%esi, %rbx
	shlq	$5, %rbx
	leaq	(%r15,%rbx), %r14
	movq	24(%r15,%rbx), %r12
	movslq	(%rdi), %r13
	movslq	4(%rdi), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	callq	_spin_lock
	xorps	%xmm0, %xmm0
	movups	%xmm0, 8(%r15,%rbx)
	movq	$0, (%r12,%r13,8)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	$0, (%r12,%rax,8)
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_otx2_mbox_reset                ; -- Begin function otx2_mbox_reset
	.p2align	2
_otx2_mbox_reset:                       ; @otx2_mbox_reset
	.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
                                        ; kill: def $w1 killed $w1 def $x1
	ldr	x8, [x0, #8]
	sxtw	x9, w1
	add	x19, x8, x9, lsl #5
	ldr	x20, [x19, #24]
	ldpsw	x21, x22, [x0]
	mov	x0, x19
	bl	_spin_lock
	stp	xzr, xzr, [x19, #8]
	str	xzr, [x20, x21, lsl #3]
	str	xzr, [x20, x22, lsl #3]
	mov	x0, x19
	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	_spin_unlock
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
