	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function test_camera_create
LCPI0_0:
	.space	16
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_test_camera_create:                    ## @test_camera_create
	.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
	subq	$168, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	$0, -48(%rbp)
	movq	_MMAL_PARAMETER_CHANGE_EVENT_REQUEST@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -184(%rbp)
	movabsq	$4294967296, %rax               ## imm = 0x100000000
	movq	%rax, -180(%rbp)
	movl	$0, -172(%rbp)
	movq	$0, -168(%rbp)
	xorps	%xmm0, %xmm0
	movups	%xmm0, -204(%rbp)
	movq	_MMAL_PARAMETER_CAMERA_NUM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -208(%rbp)
	movq	_MMAL_COMPONENT_DEFAULT_CAMERA@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-48(%rbp), %rsi
	callq	_mmal_component_create
	movl	%eax, (%rbx)
	movq	_MMAL_SUCCESS@GOTPCREL(%rip), %r12
	cmpl	(%r12), %eax
	jne	LBB0_1
## %bb.3:
	movq	-48(%rbp), %rax
	cmpl	$0, 16(%rax)
	je	LBB0_4
## %bb.5:
	leaq	-180(%rbp), %rsi
	movq	8(%rax), %rcx
	movq	(%rcx), %rdx
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	8(%rcx), %rdx
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	movq	16(%rcx), %r14
	movq	_MMAL_PARAMETER_FOCUS_STATUS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, -176(%rbp)
	movq	(%rax), %rdi
	callq	_mmal_port_parameter_set
	movl	%eax, (%rbx)
	movq	_MMAL_ENOSYS@GOTPCREL(%rip), %r13
	cmpl	(%r12), %eax
	je	LBB0_8
## %bb.6:
	cmpl	(%r13), %eax
	je	LBB0_8
## %bb.7:
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_LOG_ERROR
LBB0_8:
	movl	28(%r15), %eax
	movl	%eax, -204(%rbp)
	movq	-48(%rbp), %rax
	movq	(%rax), %rdi
	leaq	-208(%rbp), %rsi
	callq	_mmal_port_parameter_set
	movl	%eax, (%rbx)
	cmpl	(%r12), %eax
	je	LBB0_11
## %bb.9:
	cmpl	(%r13), %eax
	je	LBB0_11
## %bb.10:
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_LOG_ERROR
LBB0_11:
	xorl	%eax, %eax
	callq	_enable_zero_copy
	testq	%rax, %rax
	je	LBB0_20
## %bb.12:
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movq	_MMAL_PARAMETER_ZERO_COPY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -160(%rbp)
	leaq	-156(%rbp), %r14
	movl	$1, -156(%rbp)
	movq	$0, -152(%rbp)
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	callq	_mmal_port_parameter_set
	movl	%eax, (%rbx)
	cmpl	(%r12), %eax
	je	LBB0_14
## %bb.13:
	cmpl	(%r13), %eax
	jne	LBB0_18
LBB0_14:
	leaq	L_.str.5(%rip), %rdi
	callq	_LOG_INFO
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	callq	_mmal_port_parameter_set
	movl	%eax, (%rbx)
	cmpl	(%r12), %eax
	je	LBB0_16
## %bb.15:
	cmpl	(%r13), %eax
	jne	LBB0_18
LBB0_16:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	callq	_mmal_port_parameter_set
	movl	%eax, (%rbx)
	cmpl	(%r12), %eax
	je	LBB0_19
## %bb.17:
	cmpl	(%r13), %eax
	je	LBB0_19
LBB0_18:
	leaq	L_.str.4(%rip), %rdi
	jmp	LBB0_2
LBB0_1:
	leaq	L_.str(%rip), %rdi
LBB0_2:
	xorl	%eax, %eax
	callq	_LOG_ERROR
	jmp	LBB0_24
LBB0_4:
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_LOG_ERROR
LBB0_28:
	movq	_MMAL_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	jmp	LBB0_24
LBB0_19:
	movq	-64(%rbp), %r14                 ## 8-byte Reload
LBB0_20:
	movq	(%r15), %rax
	movq	_MMALCAM_CHANGE_HDR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_22
## %bb.21:
	movq	_MMAL_PARAMETER_ALGORITHM_CONTROL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -160(%rbp)
	leaq	-156(%rbp), %rsi
	movq	_MMAL_PARAMETER_ALGORITHM_CONTROL_ALGORITHMS_HIGH_DYNAMIC_RANGE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -156(%rbp)
	movl	$1, -152(%rbp)
	movq	$0, -148(%rbp)
	movq	-48(%rbp), %rax
	movq	(%rax), %rdi
	callq	_mmal_port_parameter_set
LBB0_22:
	movq	-48(%rbp), %rax
	movq	(%rax), %rdi
	movq	_control_bh_cb@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_mmal_port_enable
	movl	%eax, (%rbx)
	testl	%eax, %eax
	je	LBB0_27
## %bb.23:
	leaq	L_.str.6(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_LOG_ERROR
LBB0_24:
	movq	-48(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_26
## %bb.25:
	callq	_mmal_component_destroy
LBB0_26:
	xorl	%eax, %eax
LBB0_47:
	addq	$168, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_27:
	movl	24(%r15), %edi
	leaq	-88(%rbp), %rsi
	leaq	-80(%rbp), %rdx
	xorl	%ecx, %ecx
	callq	_parse_vformat
	testq	%rax, %rax
	jne	LBB0_28
## %bb.29:
	cmpl	$0, 8(%r15)
	jne	LBB0_31
## %bb.30:
	movl	$1, 8(%r15)
LBB0_31:
	movq	-88(%rbp), %rax
	movq	%rax, -160(%rbp)
	movq	-80(%rbp), %rcx
	movq	%rcx, -152(%rbp)
	movq	%rax, -144(%rbp)
	movq	%rcx, -136(%rbp)
	movq	$3, -128(%rbp)
	leaq	-124(%rbp), %rsi
	movq	_MMAL_PARAM_TIMESTAMP_MODE_RESET_STC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -120(%rbp)
	xorps	%xmm0, %xmm0
	movups	%xmm0, -116(%rbp)
	movq	$0, -100(%rbp)
	movq	-48(%rbp), %rax
	movq	(%rax), %rdi
	callq	_mmal_port_parameter_set
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %r12
	cmpq	$0, 16(%r15)
	jne	LBB0_32
## %bb.33:
	movq	_MMAL_ENCODING_I420@GOTPCREL(%rip), %rax
	jmp	LBB0_34
LBB0_32:
	movq	_MMAL_ENCODING_OPAQUE@GOTPCREL(%rip), %rax
LBB0_34:
	movl	(%rax), %eax
	movl	%eax, 8(%r12)
	movq	-88(%rbp), %rax
	movq	(%r12), %rcx
	movq	%rax, 48(%rcx)
	movq	-80(%rbp), %rdx
	movq	%rdx, 40(%rcx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 24(%rcx)
	movq	%rax, 16(%rcx)
	movq	%rdx, 8(%rcx)
	movl	8(%r15), %eax
	movl	%eax, (%rcx)
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_mmal_port_format_commit
	movl	%eax, (%rbx)
	testl	%eax, %eax
	je	LBB0_36
## %bb.35:
	leaq	L_.str.7(%rip), %rdi
	jmp	LBB0_2
LBB0_36:
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	movq	8(%r15), %rdi
	movq	%r12, %rsi
	callq	_mmal_format_full_copy
	movq	%r15, %rdi
	callq	_mmal_port_format_commit
	movl	%eax, (%rbx)
	testl	%eax, %eax
	je	LBB0_38
## %bb.37:
	leaq	L_.str.8(%rip), %rdi
	jmp	LBB0_2
LBB0_38:
	movq	%r15, %rcx
	movq	%r14, %r15
	movq	_VIDEO_OUTPUT_BUFFERS_NUM@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	cmpq	%rax, (%rcx)
	jge	LBB0_40
## %bb.39:
	movq	%rax, (%rcx)
LBB0_40:
	movq	8(%r15), %rdi
	movq	%r12, %rsi
	callq	_mmal_format_full_copy
	movq	%r15, %rdi
	callq	_mmal_port_format_commit
	movl	%eax, (%rbx)
	testl	%eax, %eax
	je	LBB0_42
## %bb.41:
	leaq	L_.str.9(%rip), %rdi
	jmp	LBB0_2
LBB0_42:
	movq	(%r14), %rax
	cmpq	%rax, (%r15)
	jge	LBB0_44
## %bb.43:
	movq	%rax, (%r15)
LBB0_44:
	movq	-48(%rbp), %rdi
	callq	_mmal_component_enable
	movl	%eax, (%rbx)
	testl	%eax, %eax
	je	LBB0_46
## %bb.45:
	leaq	L_.str.10(%rip), %rdi
	jmp	LBB0_2
LBB0_46:
	movq	-48(%rbp), %rax
	jmp	LBB0_47
	.cfi_endproc
                                        ## -- End function
	.comm	_MMAL_PARAMETER_CHANGE_EVENT_REQUEST,4,2 ## @MMAL_PARAMETER_CHANGE_EVENT_REQUEST
	.comm	_MMAL_PARAMETER_CAMERA_NUM,4,2  ## @MMAL_PARAMETER_CAMERA_NUM
	.comm	_MMAL_COMPONENT_DEFAULT_CAMERA,4,2 ## @MMAL_COMPONENT_DEFAULT_CAMERA
	.comm	_MMAL_SUCCESS,4,2               ## @MMAL_SUCCESS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"couldn't create camera"

L_.str.1:                               ## @.str.1
	.asciz	"camera doesn't have output ports"

	.comm	_MMAL_EINVAL,4,2                ## @MMAL_EINVAL
	.comm	_MMAL_PARAMETER_FOCUS_STATUS,4,2 ## @MMAL_PARAMETER_FOCUS_STATUS
	.comm	_MMAL_ENOSYS,4,2                ## @MMAL_ENOSYS
L_.str.2:                               ## @.str.2
	.asciz	"No focus status change events"

L_.str.3:                               ## @.str.3
	.asciz	"No camera number change events"

	.comm	_MMAL_PARAMETER_ZERO_COPY,4,2   ## @MMAL_PARAMETER_ZERO_COPY
L_.str.4:                               ## @.str.4
	.asciz	"failed to set zero copy on camera output"

L_.str.5:                               ## @.str.5
	.asciz	"enabled zero copy on camera"

	.comm	_MMALCAM_CHANGE_HDR,8,3         ## @MMALCAM_CHANGE_HDR
	.comm	_MMAL_PARAMETER_ALGORITHM_CONTROL,4,2 ## @MMAL_PARAMETER_ALGORITHM_CONTROL
	.comm	_MMAL_PARAMETER_ALGORITHM_CONTROL_ALGORITHMS_HIGH_DYNAMIC_RANGE,4,2 ## @MMAL_PARAMETER_ALGORITHM_CONTROL_ALGORITHMS_HIGH_DYNAMIC_RANGE
	.comm	_control_bh_cb,4,2              ## @control_bh_cb
L_.str.6:                               ## @.str.6
	.asciz	"control port couldn't be enabled: %d"

	.comm	_MMAL_PARAM_TIMESTAMP_MODE_RESET_STC,4,2 ## @MMAL_PARAM_TIMESTAMP_MODE_RESET_STC
	.comm	_MMAL_ENCODING_OPAQUE,4,2       ## @MMAL_ENCODING_OPAQUE
	.comm	_MMAL_ENCODING_I420,4,2         ## @MMAL_ENCODING_I420
L_.str.7:                               ## @.str.7
	.asciz	"camera viewfinder format couldn't be set"

L_.str.8:                               ## @.str.8
	.asciz	"camera video format couldn't be set"

	.comm	_VIDEO_OUTPUT_BUFFERS_NUM,8,3   ## @VIDEO_OUTPUT_BUFFERS_NUM
L_.str.9:                               ## @.str.9
	.asciz	"camera still format couldn't be set"

L_.str.10:                              ## @.str.10
	.asciz	"camera component couldn't be enabled"

	.comm	_MMAL_PARAMETER_CAMERA_CONFIG,4,2 ## @MMAL_PARAMETER_CAMERA_CONFIG
	.no_dead_strip	_test_camera_create
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function test_camera_create
lCPI0_0:
	.long	0                               ; 0x0
	.long	1                               ; 0x1
lCPI0_1:
	.long	3                               ; 0x3
	.long	0                               ; 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_test_camera_create:                    ; @test_camera_create
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #240
	.cfi_def_cfa_offset 240
	stp	x26, x25, [sp, #160]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #176]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #192]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #208]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #224]            ; 16-byte Folded Spill
	add	x29, sp, #224
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x1
	mov	x21, x0
	stur	xzr, [x29, #-72]
Lloh0:
	adrp	x8, _MMAL_PARAMETER_CHANGE_EVENT_REQUEST@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MMAL_PARAMETER_CHANGE_EVENT_REQUEST@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	stur	w8, [x29, #-96]
Lloh3:
	adrp	x8, lCPI0_0@PAGE
Lloh4:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	stur	d0, [x29, #-92]
	stur	wzr, [x29, #-84]
	stur	xzr, [x29, #-80]
	stur	xzr, [sp, #100]
Lloh5:
	adrp	x8, _MMAL_PARAMETER_CAMERA_NUM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MMAL_PARAMETER_CAMERA_NUM@GOTPAGEOFF]
	stur	xzr, [sp, #92]
Lloh7:
	ldr	w8, [x8]
	str	w8, [sp, #88]
Lloh8:
	adrp	x8, _MMAL_COMPONENT_DEFAULT_CAMERA@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MMAL_COMPONENT_DEFAULT_CAMERA@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	sub	x1, x29, #72
	bl	_mmal_component_create
	str	w0, [x19]
Lloh11:
	adrp	x25, _MMAL_SUCCESS@GOTPAGE
Lloh12:
	ldr	x25, [x25, _MMAL_SUCCESS@GOTPAGEOFF]
	ldr	w8, [x25]
	cmp	w0, w8
	b.ne	LBB0_16
; %bb.1:
	ldur	x8, [x29, #-72]
	ldr	w9, [x8, #16]
	cbz	w9, LBB0_18
; %bb.2:
	sub	x9, x29, #96
	orr	x1, x9, #0x4
	ldr	x9, [x8, #8]
	ldp	x23, x22, [x9]
	ldr	x20, [x9, #16]
Lloh13:
	adrp	x9, _MMAL_PARAMETER_FOCUS_STATUS@GOTPAGE
Lloh14:
	ldr	x9, [x9, _MMAL_PARAMETER_FOCUS_STATUS@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	stur	w9, [x29, #-88]
	ldr	x0, [x8]
	bl	_mmal_port_parameter_set
	str	w0, [x19]
	ldr	w8, [x25]
Lloh16:
	adrp	x26, _MMAL_ENOSYS@GOTPAGE
Lloh17:
	ldr	x26, [x26, _MMAL_ENOSYS@GOTPAGEOFF]
	cmp	w0, w8
	b.eq	LBB0_5
; %bb.3:
	ldr	w8, [x26]
	cmp	w0, w8
	b.eq	LBB0_5
; %bb.4:
Lloh18:
	adrp	x0, l_.str.2@PAGE
Lloh19:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_LOG_ERROR
LBB0_5:
	ldr	w8, [x21, #28]
	str	w8, [sp, #92]
	ldur	x8, [x29, #-72]
	ldr	x0, [x8]
	add	x1, sp, #88
	bl	_mmal_port_parameter_set
	str	w0, [x19]
	ldr	w8, [x25]
	cmp	w0, w8
	b.eq	LBB0_8
; %bb.6:
	ldr	w8, [x26]
	cmp	w0, w8
	b.eq	LBB0_8
; %bb.7:
Lloh20:
	adrp	x0, l_.str.3@PAGE
Lloh21:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_LOG_ERROR
LBB0_8:
	bl	_enable_zero_copy
	cbz	x0, LBB0_22
; %bb.9:
Lloh22:
	adrp	x8, _MMAL_PARAMETER_ZERO_COPY@GOTPAGE
Lloh23:
	ldr	x8, [x8, _MMAL_PARAMETER_ZERO_COPY@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	add	x9, sp, #16
	orr	x24, x9, #0x4
	mov	w9, #1
	stp	w8, w9, [sp, #16]
	str	xzr, [sp, #24]
	mov	x0, x23
	mov	x1, x24
	bl	_mmal_port_parameter_set
	str	w0, [x19]
	ldr	w8, [x25]
	cmp	w0, w8
	b.eq	LBB0_11
; %bb.10:
	ldr	w8, [x26]
	cmp	w0, w8
	b.ne	LBB0_15
LBB0_11:
Lloh25:
	adrp	x0, l_.str.5@PAGE
Lloh26:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_LOG_INFO
	mov	x0, x22
	mov	x1, x24
	bl	_mmal_port_parameter_set
	str	w0, [x19]
	ldr	w8, [x25]
	cmp	w0, w8
	b.eq	LBB0_13
; %bb.12:
	ldr	w8, [x26]
	cmp	w0, w8
	b.ne	LBB0_15
LBB0_13:
	mov	x0, x20
	mov	x1, x24
	bl	_mmal_port_parameter_set
	str	w0, [x19]
	ldr	w8, [x25]
	cmp	w0, w8
	b.eq	LBB0_22
; %bb.14:
	ldr	w8, [x26]
	cmp	w0, w8
	b.eq	LBB0_22
LBB0_15:
Lloh27:
	adrp	x0, l_.str.4@PAGE
Lloh28:
	add	x0, x0, l_.str.4@PAGEOFF
	b	LBB0_17
LBB0_16:
Lloh29:
	adrp	x0, l_.str@PAGE
Lloh30:
	add	x0, x0, l_.str@PAGEOFF
LBB0_17:
	bl	_LOG_ERROR
	ldur	x0, [x29, #-72]
	cbnz	x0, LBB0_20
	b	LBB0_21
LBB0_18:
Lloh31:
	adrp	x0, l_.str.1@PAGE
Lloh32:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_LOG_ERROR
LBB0_19:
Lloh33:
	adrp	x8, _MMAL_EINVAL@GOTPAGE
Lloh34:
	ldr	x8, [x8, _MMAL_EINVAL@GOTPAGEOFF]
Lloh35:
	ldr	w8, [x8]
	str	w8, [x19]
	ldur	x0, [x29, #-72]
	cbz	x0, LBB0_21
LBB0_20:
	bl	_mmal_component_destroy
	mov	x0, #0
LBB0_21:
	ldp	x29, x30, [sp, #224]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #208]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #192]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #176]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #160]            ; 16-byte Folded Reload
	add	sp, sp, #240
	ret
LBB0_22:
	ldr	x8, [x21]
Lloh36:
	adrp	x9, _MMALCAM_CHANGE_HDR@GOTPAGE
Lloh37:
	ldr	x9, [x9, _MMALCAM_CHANGE_HDR@GOTPAGEOFF]
Lloh38:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_24
; %bb.23:
Lloh39:
	adrp	x8, _MMAL_PARAMETER_ALGORITHM_CONTROL@GOTPAGE
Lloh40:
	ldr	x8, [x8, _MMAL_PARAMETER_ALGORITHM_CONTROL@GOTPAGEOFF]
Lloh41:
	ldr	w8, [x8]
	add	x9, sp, #16
	orr	x1, x9, #0x4
Lloh42:
	adrp	x9, _MMAL_PARAMETER_ALGORITHM_CONTROL_ALGORITHMS_HIGH_DYNAMIC_RANGE@GOTPAGE
Lloh43:
	ldr	x9, [x9, _MMAL_PARAMETER_ALGORITHM_CONTROL_ALGORITHMS_HIGH_DYNAMIC_RANGE@GOTPAGEOFF]
Lloh44:
	ldr	w9, [x9]
	stp	w8, w9, [sp, #16]
	mov	w8, #1
	str	w8, [sp, #24]
	stur	xzr, [sp, #28]
	ldur	x8, [x29, #-72]
	ldr	x0, [x8]
	bl	_mmal_port_parameter_set
LBB0_24:
	ldur	x8, [x29, #-72]
	ldr	x0, [x8]
Lloh45:
	adrp	x8, _control_bh_cb@GOTPAGE
Lloh46:
	ldr	x8, [x8, _control_bh_cb@GOTPAGEOFF]
Lloh47:
	ldr	w1, [x8]
	bl	_mmal_port_enable
                                        ; kill: def $w0 killed $w0 def $x0
	str	w0, [x19]
	cbz	w0, LBB0_26
; %bb.25:
	str	x0, [sp]
Lloh48:
	adrp	x0, l_.str.6@PAGE
Lloh49:
	add	x0, x0, l_.str.6@PAGEOFF
	b	LBB0_17
LBB0_26:
	ldr	w0, [x21, #24]
	sub	x1, x29, #104
	add	x2, sp, #112
	mov	x3, #0
	bl	_parse_vformat
	cbnz	x0, LBB0_19
; %bb.27:
	ldr	w8, [x21, #8]
	cbnz	w8, LBB0_29
; %bb.28:
	mov	w8, #1
	str	w8, [x21, #8]
LBB0_29:
	ldur	x8, [x29, #-104]
	ldr	x9, [sp, #112]
	stp	x8, x9, [sp, #16]
	stp	x8, x9, [sp, #32]
	add	x8, sp, #16
	add	x1, x8, #36
Lloh50:
	adrp	x8, lCPI0_1@PAGE
Lloh51:
	ldr	d0, [x8, lCPI0_1@PAGEOFF]
	str	d0, [sp, #48]
Lloh52:
	adrp	x8, _MMAL_PARAM_TIMESTAMP_MODE_RESET_STC@GOTPAGE
Lloh53:
	ldr	x8, [x8, _MMAL_PARAM_TIMESTAMP_MODE_RESET_STC@GOTPAGEOFF]
Lloh54:
	ldr	w8, [x8]
	str	w8, [sp, #56]
	stur	xzr, [sp, #60]
	stur	xzr, [sp, #76]
	stur	xzr, [sp, #68]
	ldur	x8, [x29, #-72]
	ldr	x0, [x8]
	bl	_mmal_port_parameter_set
	ldr	x24, [x23, #8]
Lloh55:
	adrp	x8, _MMAL_ENCODING_I420@GOTPAGE
Lloh56:
	ldr	x8, [x8, _MMAL_ENCODING_I420@GOTPAGEOFF]
	ldr	x9, [x21, #16]
Lloh57:
	adrp	x10, _MMAL_ENCODING_OPAQUE@GOTPAGE
Lloh58:
	ldr	x10, [x10, _MMAL_ENCODING_OPAQUE@GOTPAGEOFF]
	cmp	x9, #0
	csel	x8, x8, x10, eq
	ldr	w8, [x8]
	str	w8, [x24, #8]
	ldur	x8, [x29, #-104]
	ldr	x9, [x24]
	ldr	x10, [sp, #112]
	stp	x10, x8, [x9, #40]
	stp	xzr, xzr, [x9, #24]
	stp	x10, x8, [x9, #8]
	ldr	w8, [x21, #8]
	str	w8, [x9]
	mov	x0, x23
	bl	_mmal_port_format_commit
	str	w0, [x19]
	cbz	w0, LBB0_31
; %bb.30:
Lloh59:
	adrp	x0, l_.str.7@PAGE
Lloh60:
	add	x0, x0, l_.str.7@PAGEOFF
	b	LBB0_17
LBB0_31:
	ldr	x0, [x22, #8]
	mov	x1, x24
	bl	_mmal_format_full_copy
	mov	x0, x22
	bl	_mmal_port_format_commit
	str	w0, [x19]
	cbz	w0, LBB0_33
; %bb.32:
Lloh61:
	adrp	x0, l_.str.8@PAGE
Lloh62:
	add	x0, x0, l_.str.8@PAGEOFF
	b	LBB0_17
LBB0_33:
	ldr	x9, [x22]
Lloh63:
	adrp	x21, _VIDEO_OUTPUT_BUFFERS_NUM@GOTPAGE
Lloh64:
	ldr	x21, [x21, _VIDEO_OUTPUT_BUFFERS_NUM@GOTPAGEOFF]
	ldr	x8, [x21]
	cmp	x9, x8
	b.ge	LBB0_35
; %bb.34:
	str	x8, [x22]
LBB0_35:
	ldr	x0, [x20, #8]
	mov	x1, x24
	bl	_mmal_format_full_copy
	mov	x0, x20
	bl	_mmal_port_format_commit
	str	w0, [x19]
	cbz	w0, LBB0_37
; %bb.36:
Lloh65:
	adrp	x0, l_.str.9@PAGE
Lloh66:
	add	x0, x0, l_.str.9@PAGEOFF
	b	LBB0_17
LBB0_37:
	ldr	x9, [x20]
	ldr	x8, [x21]
	cmp	x9, x8
	b.ge	LBB0_39
; %bb.38:
	str	x8, [x20]
LBB0_39:
	ldur	x0, [x29, #-72]
	bl	_mmal_component_enable
	str	w0, [x19]
	cbz	w0, LBB0_41
; %bb.40:
Lloh67:
	adrp	x0, l_.str.10@PAGE
Lloh68:
	add	x0, x0, l_.str.10@PAGEOFF
	b	LBB0_17
LBB0_41:
	ldur	x0, [x29, #-72]
	b	LBB0_21
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdrp	Lloh3, Lloh5
	.loh AdrpLdr	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpLdrGot	Lloh57, Lloh58
	.loh AdrpLdrGot	Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpAdrp	Lloh50, Lloh52
	.loh AdrpLdr	Lloh50, Lloh51
	.loh AdrpAdd	Lloh59, Lloh60
	.loh AdrpAdd	Lloh61, Lloh62
	.loh AdrpLdrGot	Lloh63, Lloh64
	.loh AdrpAdd	Lloh65, Lloh66
	.loh AdrpAdd	Lloh67, Lloh68
	.cfi_endproc
                                        ; -- End function
	.comm	_MMAL_PARAMETER_CHANGE_EVENT_REQUEST,4,2 ; @MMAL_PARAMETER_CHANGE_EVENT_REQUEST
	.comm	_MMAL_PARAMETER_CAMERA_NUM,4,2  ; @MMAL_PARAMETER_CAMERA_NUM
	.comm	_MMAL_COMPONENT_DEFAULT_CAMERA,4,2 ; @MMAL_COMPONENT_DEFAULT_CAMERA
	.comm	_MMAL_SUCCESS,4,2               ; @MMAL_SUCCESS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"couldn't create camera"

l_.str.1:                               ; @.str.1
	.asciz	"camera doesn't have output ports"

	.comm	_MMAL_EINVAL,4,2                ; @MMAL_EINVAL
	.comm	_MMAL_PARAMETER_FOCUS_STATUS,4,2 ; @MMAL_PARAMETER_FOCUS_STATUS
	.comm	_MMAL_ENOSYS,4,2                ; @MMAL_ENOSYS
l_.str.2:                               ; @.str.2
	.asciz	"No focus status change events"

l_.str.3:                               ; @.str.3
	.asciz	"No camera number change events"

	.comm	_MMAL_PARAMETER_ZERO_COPY,4,2   ; @MMAL_PARAMETER_ZERO_COPY
l_.str.4:                               ; @.str.4
	.asciz	"failed to set zero copy on camera output"

l_.str.5:                               ; @.str.5
	.asciz	"enabled zero copy on camera"

	.comm	_MMALCAM_CHANGE_HDR,8,3         ; @MMALCAM_CHANGE_HDR
	.comm	_MMAL_PARAMETER_ALGORITHM_CONTROL,4,2 ; @MMAL_PARAMETER_ALGORITHM_CONTROL
	.comm	_MMAL_PARAMETER_ALGORITHM_CONTROL_ALGORITHMS_HIGH_DYNAMIC_RANGE,4,2 ; @MMAL_PARAMETER_ALGORITHM_CONTROL_ALGORITHMS_HIGH_DYNAMIC_RANGE
	.comm	_control_bh_cb,4,2              ; @control_bh_cb
l_.str.6:                               ; @.str.6
	.asciz	"control port couldn't be enabled: %d"

	.comm	_MMAL_PARAM_TIMESTAMP_MODE_RESET_STC,4,2 ; @MMAL_PARAM_TIMESTAMP_MODE_RESET_STC
	.comm	_MMAL_ENCODING_OPAQUE,4,2       ; @MMAL_ENCODING_OPAQUE
	.comm	_MMAL_ENCODING_I420,4,2         ; @MMAL_ENCODING_I420
l_.str.7:                               ; @.str.7
	.asciz	"camera viewfinder format couldn't be set"

l_.str.8:                               ; @.str.8
	.asciz	"camera video format couldn't be set"

	.comm	_VIDEO_OUTPUT_BUFFERS_NUM,8,3   ; @VIDEO_OUTPUT_BUFFERS_NUM
l_.str.9:                               ; @.str.9
	.asciz	"camera still format couldn't be set"

l_.str.10:                              ; @.str.10
	.asciz	"camera component couldn't be enabled"

	.comm	_MMAL_PARAMETER_CAMERA_CONFIG,4,2 ; @MMAL_PARAMETER_CAMERA_CONFIG
	.no_dead_strip	_test_camera_create
.subsections_via_symbols
