	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mmalil_omx_default_channel_mapping ## -- Begin function mmalil_omx_default_channel_mapping
	.p2align	4, 0x90
_mmalil_omx_default_channel_mapping:    ## @mmalil_omx_default_channel_mapping
	.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	_MMAL_EINVAL@GOTPCREL(%rip), %r12
	testl	%esi, %esi
	je	LBB0_3
## %bb.1:
	movl	%esi, %ebx
	movq	%rdi, %r14
	leaq	_mmalil_omx_default_channel_mapping.default_mapping(%rip), %r15
	movq	%r15, %rdi
	callq	_MMAL_COUNTOF
	cmpl	%ebx, %eax
	jbe	LBB0_3
## %bb.2:
	movl	%ebx, %eax
	shlq	$8, %rax
	addq	%rax, %r15
	shll	$5, %ebx
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	%ebx, %edx
	callq	_memcpy
	movq	_MMAL_SUCCESS@GOTPCREL(%rip), %r12
LBB0_3:
	movl	(%r12), %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @mmalil_omx_default_channel_mapping.default_mapping
_mmalil_omx_default_channel_mapping.default_mapping:
	.long	131                             ## 0x83
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.space	32
	.space	32
	.space	32
	.space	32
	.space	32
	.space	32
	.space	32
	.long	137                             ## 0x89
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.space	32
	.space	32
	.space	32
	.space	32
	.space	32
	.space	32
	.space	32
	.long	135                             ## 0x87
	.long	130                             ## 0x82
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.space	32
	.space	32
	.space	32
	.space	32
	.space	32
	.space	32
	.space	32
	.long	135                             ## 0x87
	.long	130                             ## 0x82
	.long	137                             ## 0x89
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.space	32
	.space	32
	.space	32
	.space	32
	.space	32
	.space	32
	.space	32
	.long	135                             ## 0x87
	.long	130                             ## 0x82
	.long	137                             ## 0x89
	.long	136                             ## 0x88
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.space	32
	.space	32
	.space	32
	.space	32
	.space	32
	.space	32
	.space	32
	.long	135                             ## 0x87
	.long	130                             ## 0x82
	.long	137                             ## 0x89
	.long	133                             ## 0x85
	.long	129                             ## 0x81
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.space	32
	.space	32
	.space	32
	.space	32
	.space	32
	.space	32
	.space	32
	.long	135                             ## 0x87
	.long	130                             ## 0x82
	.long	137                             ## 0x89
	.long	134                             ## 0x86
	.long	133                             ## 0x85
	.long	129                             ## 0x81
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.space	32
	.space	32
	.space	32
	.space	32
	.space	32
	.space	32
	.space	32
	.long	135                             ## 0x87
	.long	130                             ## 0x82
	.long	137                             ## 0x89
	.long	134                             ## 0x86
	.long	133                             ## 0x85
	.long	129                             ## 0x81
	.long	136                             ## 0x88
	.long	0                               ## 0x0
	.space	32
	.space	32
	.space	32
	.space	32
	.space	32
	.space	32
	.space	32
	.long	135                             ## 0x87
	.long	130                             ## 0x82
	.long	137                             ## 0x89
	.long	134                             ## 0x86
	.long	133                             ## 0x85
	.long	129                             ## 0x81
	.long	132                             ## 0x84
	.long	128                             ## 0x80
	.space	32
	.space	32
	.space	32
	.space	32
	.space	32
	.space	32
	.space	32

	.comm	_MMAL_EINVAL,4,2                ## @MMAL_EINVAL
	.comm	_MMAL_SUCCESS,4,2               ## @MMAL_SUCCESS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mmalil_omx_default_channel_mapping ; -- Begin function mmalil_omx_default_channel_mapping
	.p2align	2
_mmalil_omx_default_channel_mapping:    ; @mmalil_omx_default_channel_mapping
	.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
	cbz	w1, LBB0_3
; %bb.1:
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x21, _mmalil_omx_default_channel_mapping.default_mapping@PAGE
Lloh1:
	add	x21, x21, _mmalil_omx_default_channel_mapping.default_mapping@PAGEOFF
	mov	x0, x21
	bl	_MMAL_COUNTOF
	cmp	w0, w20
	b.ls	LBB0_3
; %bb.2:
	mov	w8, w20
	add	x1, x21, x8, lsl #8
	lsl	w2, w20, #5
	mov	x0, x19
	bl	_memcpy
Lloh2:
	adrp	x8, _MMAL_SUCCESS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MMAL_SUCCESS@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
Lloh4:
	adrp	x8, _MMAL_EINVAL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _MMAL_EINVAL@GOTPAGEOFF]
LBB0_4:
	ldr	w0, [x8]
	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
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @mmalil_omx_default_channel_mapping.default_mapping
_mmalil_omx_default_channel_mapping.default_mapping:
	.long	131                             ; 0x83
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.space	32
	.space	32
	.space	32
	.space	32
	.space	32
	.space	32
	.space	32
	.long	137                             ; 0x89
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.space	32
	.space	32
	.space	32
	.space	32
	.space	32
	.space	32
	.space	32
	.long	135                             ; 0x87
	.long	130                             ; 0x82
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.space	32
	.space	32
	.space	32
	.space	32
	.space	32
	.space	32
	.space	32
	.long	135                             ; 0x87
	.long	130                             ; 0x82
	.long	137                             ; 0x89
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.space	32
	.space	32
	.space	32
	.space	32
	.space	32
	.space	32
	.space	32
	.long	135                             ; 0x87
	.long	130                             ; 0x82
	.long	137                             ; 0x89
	.long	136                             ; 0x88
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.space	32
	.space	32
	.space	32
	.space	32
	.space	32
	.space	32
	.space	32
	.long	135                             ; 0x87
	.long	130                             ; 0x82
	.long	137                             ; 0x89
	.long	133                             ; 0x85
	.long	129                             ; 0x81
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.space	32
	.space	32
	.space	32
	.space	32
	.space	32
	.space	32
	.space	32
	.long	135                             ; 0x87
	.long	130                             ; 0x82
	.long	137                             ; 0x89
	.long	134                             ; 0x86
	.long	133                             ; 0x85
	.long	129                             ; 0x81
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.space	32
	.space	32
	.space	32
	.space	32
	.space	32
	.space	32
	.space	32
	.long	135                             ; 0x87
	.long	130                             ; 0x82
	.long	137                             ; 0x89
	.long	134                             ; 0x86
	.long	133                             ; 0x85
	.long	129                             ; 0x81
	.long	136                             ; 0x88
	.long	0                               ; 0x0
	.space	32
	.space	32
	.space	32
	.space	32
	.space	32
	.space	32
	.space	32
	.long	135                             ; 0x87
	.long	130                             ; 0x82
	.long	137                             ; 0x89
	.long	134                             ; 0x86
	.long	133                             ; 0x85
	.long	129                             ; 0x81
	.long	132                             ; 0x84
	.long	128                             ; 0x80
	.space	32
	.space	32
	.space	32
	.space	32
	.space	32
	.space	32
	.space	32

	.comm	_MMAL_EINVAL,4,2                ; @MMAL_EINVAL
	.comm	_MMAL_SUCCESS,4,2               ; @MMAL_SUCCESS
.subsections_via_symbols
