	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mmal_status_to_int             ## -- Begin function mmal_status_to_int
	.p2align	4, 0x90
_mmal_status_to_int:                    ## @mmal_status_to_int
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_MMAL_SUCCESS@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	cmpl	%edi, (%rcx)
	je	LBB0_5
## %bb.1:
	addl	$-128, %edi
	cmpl	$14, %edi
	ja	LBB0_2
## %bb.3:
	movslq	%edi, %rax
	leaq	l_reltable.mmal_status_to_int(%rip), %rcx
	movslq	(%rcx,%rax,4), %rdi
	addq	%rcx, %rdi
	jmp	LBB0_4
LBB0_2:
	leaq	L_.str.15(%rip), %rdi
LBB0_4:
	callq	_vcos_log_error
	movl	$1, %eax
LBB0_5:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MMAL_SUCCESS,4,2               ## @MMAL_SUCCESS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Out of memory"

L_.str.1:                               ## @.str.1
	.asciz	"Out of resources (other than memory)"

L_.str.2:                               ## @.str.2
	.asciz	"Argument is invalid"

L_.str.3:                               ## @.str.3
	.asciz	"Function not implemented"

L_.str.4:                               ## @.str.4
	.asciz	"No such file or directory"

L_.str.5:                               ## @.str.5
	.asciz	"No such device or address"

L_.str.6:                               ## @.str.6
	.asciz	"I/O error"

L_.str.7:                               ## @.str.7
	.asciz	"Illegal seek"

L_.str.8:                               ## @.str.8
	.asciz	"Data is corrupt \007ttention FIXME: not POSIX"

L_.str.9:                               ## @.str.9
	.asciz	"Component is not ready \007ttention FIXME: not POSIX"

L_.str.10:                              ## @.str.10
	.asciz	"Component is not configured \007ttention FIXME: not POSIX"

L_.str.11:                              ## @.str.11
	.asciz	"Port is already connected "

L_.str.12:                              ## @.str.12
	.asciz	"Port is disconnected"

L_.str.13:                              ## @.str.13
	.asciz	"Resource temporarily unavailable. Try again later"

L_.str.14:                              ## @.str.14
	.asciz	"Bad address"

L_.str.15:                              ## @.str.15
	.asciz	"Unknown status error"

	.section	__TEXT,__const
	.p2align	2                               ## @reltable.mmal_status_to_int
l_reltable.mmal_status_to_int:
	.long	L_.str.7-l_reltable.mmal_status_to_int
	.long	L_.str.5-l_reltable.mmal_status_to_int
	.long	L_.str.9-l_reltable.mmal_status_to_int
	.long	L_.str.12-l_reltable.mmal_status_to_int
	.long	L_.str.3-l_reltable.mmal_status_to_int
	.long	L_.str.1-l_reltable.mmal_status_to_int
	.long	L_.str-l_reltable.mmal_status_to_int
	.long	L_.str.4-l_reltable.mmal_status_to_int
	.long	L_.str.11-l_reltable.mmal_status_to_int
	.long	L_.str.6-l_reltable.mmal_status_to_int
	.long	L_.str.2-l_reltable.mmal_status_to_int
	.long	L_.str.14-l_reltable.mmal_status_to_int
	.long	L_.str.8-l_reltable.mmal_status_to_int
	.long	L_.str.10-l_reltable.mmal_status_to_int
	.long	L_.str.13-l_reltable.mmal_status_to_int

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mmal_status_to_int             ; -- Begin function mmal_status_to_int
	.p2align	2
_mmal_status_to_int:                    ; @mmal_status_to_int
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _MMAL_SUCCESS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MMAL_SUCCESS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w0
	b.ne	LBB0_2
; %bb.1:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_2:
	sub	w8, w0, #128
	cmp	w8, #14
	b.hi	LBB0_4
; %bb.3:
Lloh3:
	adrp	x9, l_switch.table.mmal_status_to_int@PAGE
Lloh4:
	add	x9, x9, l_switch.table.mmal_status_to_int@PAGEOFF
	ldr	x0, [x9, w8, sxtw #3]
	b	LBB0_5
LBB0_4:
Lloh5:
	adrp	x0, l_.str.15@PAGE
Lloh6:
	add	x0, x0, l_.str.15@PAGEOFF
LBB0_5:
	bl	_vcos_log_error
	mov	w0, #1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_MMAL_SUCCESS,4,2               ; @MMAL_SUCCESS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Out of memory"

l_.str.1:                               ; @.str.1
	.asciz	"Out of resources (other than memory)"

l_.str.2:                               ; @.str.2
	.asciz	"Argument is invalid"

l_.str.3:                               ; @.str.3
	.asciz	"Function not implemented"

l_.str.4:                               ; @.str.4
	.asciz	"No such file or directory"

l_.str.5:                               ; @.str.5
	.asciz	"No such device or address"

l_.str.6:                               ; @.str.6
	.asciz	"I/O error"

l_.str.7:                               ; @.str.7
	.asciz	"Illegal seek"

l_.str.8:                               ; @.str.8
	.asciz	"Data is corrupt \007ttention FIXME: not POSIX"

l_.str.9:                               ; @.str.9
	.asciz	"Component is not ready \007ttention FIXME: not POSIX"

l_.str.10:                              ; @.str.10
	.asciz	"Component is not configured \007ttention FIXME: not POSIX"

l_.str.11:                              ; @.str.11
	.asciz	"Port is already connected "

l_.str.12:                              ; @.str.12
	.asciz	"Port is disconnected"

l_.str.13:                              ; @.str.13
	.asciz	"Resource temporarily unavailable. Try again later"

l_.str.14:                              ; @.str.14
	.asciz	"Bad address"

l_.str.15:                              ; @.str.15
	.asciz	"Unknown status error"

	.section	__DATA,__const
	.p2align	3                               ; @switch.table.mmal_status_to_int
l_switch.table.mmal_status_to_int:
	.quad	l_.str.7
	.quad	l_.str.5
	.quad	l_.str.9
	.quad	l_.str.12
	.quad	l_.str.3
	.quad	l_.str.1
	.quad	l_.str
	.quad	l_.str.4
	.quad	l_.str.11
	.quad	l_.str.6
	.quad	l_.str.2
	.quad	l_.str.14
	.quad	l_.str.8
	.quad	l_.str.10
	.quad	l_.str.13

.subsections_via_symbols
