	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ocrdma_get_mbx_errno
_ocrdma_get_mbx_errno:                  ## @ocrdma_get_mbx_errno
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_OCRDMA_MBX_RSP_STATUS_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%edi, %eax
	movq	_OCRDMA_MBX_RSP_STATUS_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	sarl	%cl, %eax
	addl	$-128, %eax
	cmpl	$35, %eax
	ja	LBB0_7
## %bb.1:
	movq	_EAGAIN@GOTPCREL(%rip), %rcx
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rax,4), %rax
	addq	%rdx, %rax
	jmpq	*%rax
LBB0_2:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	jmp	LBB0_8
LBB0_4:
	movq	_ENOBUFS@GOTPCREL(%rip), %rcx
	jmp	LBB0_8
LBB0_3:
	movq	_EBUSY@GOTPCREL(%rip), %rcx
	jmp	LBB0_8
LBB0_5:
	movq	_OCRDMA_MBX_RSP_ASTATUS_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %edi
	movq	_OCRDMA_MBX_RSP_ASTATUS_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	sarl	%cl, %edi
	cmpl	$164, %edi
	jne	LBB0_7
## %bb.6:
	movq	_EAGAIN@GOTPCREL(%rip), %rcx
	jmp	LBB0_8
LBB0_7:
	movq	_EFAULT@GOTPCREL(%rip), %rcx
LBB0_8:
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_4
	.long	L0_0_set_2
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_3
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_3
	.long	L0_0_set_4
	.long	L0_0_set_8
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_2
	.long	L0_0_set_8
	.long	L0_0_set_4
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_5
	.long	L0_0_set_2
	.end_data_region
                                        ## -- End function
	.comm	_OCRDMA_MBX_RSP_STATUS_MASK,4,2 ## @OCRDMA_MBX_RSP_STATUS_MASK
	.comm	_OCRDMA_MBX_RSP_STATUS_SHIFT,4,2 ## @OCRDMA_MBX_RSP_STATUS_SHIFT
	.comm	_OCRDMA_MBX_RSP_ASTATUS_MASK,4,2 ## @OCRDMA_MBX_RSP_ASTATUS_MASK
	.comm	_OCRDMA_MBX_RSP_ASTATUS_SHIFT,4,2 ## @OCRDMA_MBX_RSP_ASTATUS_SHIFT
	.comm	_EAGAIN,4,2                     ## @EAGAIN
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_EBUSY,4,2                      ## @EBUSY
	.comm	_ENOBUFS,4,2                    ## @ENOBUFS
	.comm	_EFAULT,4,2                     ## @EFAULT
	.no_dead_strip	_ocrdma_get_mbx_errno
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ocrdma_get_mbx_errno
_ocrdma_get_mbx_errno:                  ; @ocrdma_get_mbx_errno
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _OCRDMA_MBX_RSP_STATUS_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OCRDMA_MBX_RSP_STATUS_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	and	w8, w8, w0
Lloh3:
	adrp	x9, _OCRDMA_MBX_RSP_STATUS_SHIFT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _OCRDMA_MBX_RSP_STATUS_SHIFT@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	asr	w8, w8, w9
	sub	w9, w8, #128
	cmp	w9, #35
	b.hi	LBB0_5
; %bb.1:
Lloh6:
	adrp	x8, _EAGAIN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EAGAIN@GOTPAGEOFF]
Lloh8:
	adrp	x10, lJTI0_0@PAGE
Lloh9:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_2
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_2:
Lloh10:
	adrp	x8, _EINVAL@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_7
LBB0_3:
Lloh12:
	adrp	x8, _ENOBUFS@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ENOBUFS@GOTPAGEOFF]
	b	LBB0_7
LBB0_4:
Lloh14:
	adrp	x8, _EBUSY@GOTPAGE
Lloh15:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
	b	LBB0_7
LBB0_5:
Lloh16:
	adrp	x8, _EFAULT@GOTPAGE
Lloh17:
	ldr	x8, [x8, _EFAULT@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
Lloh18:
	adrp	x9, _OCRDMA_MBX_RSP_ASTATUS_MASK@GOTPAGE
Lloh19:
	ldr	x9, [x9, _OCRDMA_MBX_RSP_ASTATUS_MASK@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	and	w9, w9, w0
Lloh21:
	adrp	x10, _OCRDMA_MBX_RSP_ASTATUS_SHIFT@GOTPAGE
Lloh22:
	ldr	x10, [x10, _OCRDMA_MBX_RSP_ASTATUS_SHIFT@GOTPAGEOFF]
Lloh23:
	ldr	w10, [x10]
	asr	w9, w9, w10
Lloh24:
	adrp	x10, _EFAULT@GOTPAGE
Lloh25:
	ldr	x10, [x10, _EFAULT@GOTPAGEOFF]
	cmp	w9, #164
	csel	x8, x8, x10, eq
LBB0_7:
	ldr	w8, [x8]
	neg	w0, w8
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
                                        ; -- End function
	.comm	_OCRDMA_MBX_RSP_STATUS_MASK,4,2 ; @OCRDMA_MBX_RSP_STATUS_MASK
	.comm	_OCRDMA_MBX_RSP_STATUS_SHIFT,4,2 ; @OCRDMA_MBX_RSP_STATUS_SHIFT
	.comm	_OCRDMA_MBX_RSP_ASTATUS_MASK,4,2 ; @OCRDMA_MBX_RSP_ASTATUS_MASK
	.comm	_OCRDMA_MBX_RSP_ASTATUS_SHIFT,4,2 ; @OCRDMA_MBX_RSP_ASTATUS_SHIFT
	.comm	_EAGAIN,4,2                     ; @EAGAIN
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_EBUSY,4,2                      ; @EBUSY
	.comm	_ENOBUFS,4,2                    ; @ENOBUFS
	.comm	_EFAULT,4,2                     ; @EFAULT
	.no_dead_strip	_ocrdma_get_mbx_errno
.subsections_via_symbols
