	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function getmbox
_getmbox:                               ## @getmbox
	.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	_mbox_lock@GOTPCREL(%rip), %rdi
	callq	_spin_lock_irqsave
	movq	_mboxinuse@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpl	$0, 4(%rax)
	je	LBB0_1
## %bb.4:
	cmpl	$0, 8(%rax)
	je	LBB0_5
## %bb.6:
	cmpl	$0, 12(%rax)
	je	LBB0_7
## %bb.8:
	cmpl	$0, 16(%rax)
	je	LBB0_9
## %bb.10:
	cmpl	$0, 20(%rax)
	je	LBB0_11
## %bb.12:
	cmpl	$0, 24(%rax)
	je	LBB0_13
## %bb.14:
	cmpl	$0, 28(%rax)
	je	LBB0_15
## %bb.16:
	cmpl	$0, 32(%rax)
	je	LBB0_17
## %bb.18:
	cmpl	$0, 36(%rax)
	je	LBB0_19
## %bb.20:
	cmpl	$0, 40(%rax)
	je	LBB0_21
## %bb.22:
	cmpl	$0, 44(%rax)
	je	LBB0_23
## %bb.24:
	cmpl	$0, 48(%rax)
	je	LBB0_25
## %bb.26:
	cmpl	$0, 52(%rax)
	je	LBB0_27
## %bb.28:
	cmpl	$0, 56(%rax)
	je	LBB0_29
## %bb.30:
	xorl	%ebx, %ebx
	cmpl	$0, 60(%rax)
	jne	LBB0_3
## %bb.31:
	movl	$15, %ebx
	jmp	LBB0_2
LBB0_1:
	movl	$1, %ebx
	jmp	LBB0_2
LBB0_5:
	movl	$2, %ebx
	jmp	LBB0_2
LBB0_7:
	movl	$3, %ebx
	jmp	LBB0_2
LBB0_9:
	movl	$4, %ebx
	jmp	LBB0_2
LBB0_11:
	movl	$5, %ebx
	jmp	LBB0_2
LBB0_13:
	movl	$6, %ebx
	jmp	LBB0_2
LBB0_15:
	movl	$7, %ebx
	jmp	LBB0_2
LBB0_17:
	movl	$8, %ebx
	jmp	LBB0_2
LBB0_19:
	movl	$9, %ebx
	jmp	LBB0_2
LBB0_21:
	movl	$10, %ebx
	jmp	LBB0_2
LBB0_23:
	movl	$11, %ebx
	jmp	LBB0_2
LBB0_25:
	movl	$12, %ebx
	jmp	LBB0_2
LBB0_27:
	movl	$13, %ebx
	jmp	LBB0_2
LBB0_29:
	movl	$14, %ebx
LBB0_2:
	movl	%ebx, %ecx
	movl	$1, (%rax,%rcx,4)
LBB0_3:
	movq	_mbox_lock@GOTPCREL(%rip), %rdi
	callq	_spin_unlock_irqrestore
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_mbox_lock,4,2                  ## @mbox_lock
	.comm	_mboxinuse,8,3                  ## @mboxinuse
	.no_dead_strip	_getmbox
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function getmbox
_getmbox:                               ; @getmbox
	.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
Lloh0:
	adrp	x0, _mbox_lock@GOTPAGE
Lloh1:
	ldr	x0, [x0, _mbox_lock@GOTPAGEOFF]
	bl	_spin_lock_irqsave
Lloh2:
	adrp	x8, _mboxinuse@GOTPAGE
Lloh3:
	ldr	x8, [x8, _mboxinuse@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	ldr	w10, [x8, #4]
	mov	w9, #1
	cbz	w10, LBB0_16
; %bb.1:
	ldr	w10, [x8, #8]
	cbz	w10, LBB0_17
; %bb.2:
	ldr	w10, [x8, #12]
	cbz	w10, LBB0_18
; %bb.3:
	ldr	w10, [x8, #16]
	cbz	w10, LBB0_19
; %bb.4:
	ldr	w10, [x8, #20]
	cbz	w10, LBB0_20
; %bb.5:
	ldr	w10, [x8, #24]
	cbz	w10, LBB0_21
; %bb.6:
	ldr	w10, [x8, #28]
	cbz	w10, LBB0_22
; %bb.7:
	ldr	w10, [x8, #32]
	cbz	w10, LBB0_23
; %bb.8:
	ldr	w10, [x8, #36]
	cbz	w10, LBB0_24
; %bb.9:
	ldr	w10, [x8, #40]
	cbz	w10, LBB0_25
; %bb.10:
	ldr	w10, [x8, #44]
	cbz	w10, LBB0_26
; %bb.11:
	ldr	w10, [x8, #48]
	cbz	w10, LBB0_27
; %bb.12:
	ldr	w10, [x8, #52]
	cbz	w10, LBB0_28
; %bb.13:
	ldr	w10, [x8, #56]
	cbz	w10, LBB0_29
; %bb.14:
	ldr	w10, [x8, #60]
	cbz	w10, LBB0_30
; %bb.15:
	mov	w19, #0
	b	LBB0_32
LBB0_16:
	mov	w19, #1
	b	LBB0_31
LBB0_17:
	mov	w19, #2
	b	LBB0_31
LBB0_18:
	mov	w19, #3
	b	LBB0_31
LBB0_19:
	mov	w19, #4
	b	LBB0_31
LBB0_20:
	mov	w19, #5
	b	LBB0_31
LBB0_21:
	mov	w19, #6
	b	LBB0_31
LBB0_22:
	mov	w19, #7
	b	LBB0_31
LBB0_23:
	mov	w19, #8
	b	LBB0_31
LBB0_24:
	mov	w19, #9
	b	LBB0_31
LBB0_25:
	mov	w19, #10
	b	LBB0_31
LBB0_26:
	mov	w19, #11
	b	LBB0_31
LBB0_27:
	mov	w19, #12
	b	LBB0_31
LBB0_28:
	mov	w19, #13
	b	LBB0_31
LBB0_29:
	mov	w19, #14
	b	LBB0_31
LBB0_30:
	mov	w19, #15
LBB0_31:
	str	w9, [x8, w19, uxtw #2]
LBB0_32:
Lloh5:
	adrp	x0, _mbox_lock@GOTPAGE
Lloh6:
	ldr	x0, [x0, _mbox_lock@GOTPAGEOFF]
	bl	_spin_unlock_irqrestore
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_mbox_lock,4,2                  ; @mbox_lock
	.comm	_mboxinuse,8,3                  ; @mboxinuse
	.no_dead_strip	_getmbox
.subsections_via_symbols
