	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_default_camera_control_callback ## -- Begin function default_camera_control_callback
	.p2align	4, 0x90
_default_camera_control_callback:       ## @default_camera_control_callback
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rsi), %edx
	leaq	L_.str(%rip), %rsi
	callq	_fprintf
	movslq	(%r14), %rsi
	movq	_MMAL_EVENT_PARAMETER_CHANGED@GOTPCREL(%rip), %rax
	cmpq	%rsi, (%rax)
	jne	LBB0_3
## %bb.1:
	movq	8(%r14), %rbx
	cmpl	$128, (%rbx)
	jne	LBB0_6
## %bb.2:
	movl	32(%rbx), %esi
	movl	28(%rbx), %edx
	movl	24(%rbx), %ecx
	movl	16(%rbx), %r9d
	movl	20(%rbx), %r8d
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_vcos_log_error
	movl	12(%rbx), %esi
	movl	8(%rbx), %edx
	movl	(%rbx), %r8d
	movl	4(%rbx), %ecx
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_vcos_log_error
	jmp	LBB0_6
LBB0_3:
	movq	_MMAL_EVENT_ERROR@GOTPCREL(%rip), %rax
	cmpq	%rsi, (%rax)
	jne	LBB0_5
## %bb.4:
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_vcos_log_error
	jmp	LBB0_6
LBB0_5:
	leaq	L_.str.4(%rip), %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	xorl	%eax, %eax
	callq	_vcos_log_error
LBB0_6:
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_mmal_buffer_header_release     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Camera control callback  cmd=0x%08x"

	.comm	_MMAL_EVENT_PARAMETER_CHANGED,8,3 ## @MMAL_EVENT_PARAMETER_CHANGED
L_.str.1:                               ## @.str.1
	.asciz	"Exposure now %u, analog gain %u/%u, digital gain %u/%u"

L_.str.2:                               ## @.str.2
	.asciz	"AWB R=%u/%u, B=%u/%u"

	.comm	_MMAL_EVENT_ERROR,8,3           ## @MMAL_EVENT_ERROR
L_.str.3:                               ## @.str.3
	.asciz	"No data received from sensor. Check all connections, including the Sunny one on the camera board"

L_.str.4:                               ## @.str.4
	.asciz	"Received unexpected camera control callback event, 0x%08x"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_default_camera_control_callback ; -- Begin function default_camera_control_callback
	.p2align	2
_default_camera_control_callback:       ; @default_camera_control_callback
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
Lloh0:
	adrp	x8, _stderr@GOTPAGE
Lloh1:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldr	w2, [x1]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
	ldrsw	x8, [x19]
Lloh5:
	adrp	x9, _MMAL_EVENT_PARAMETER_CHANGED@GOTPAGE
Lloh6:
	ldr	x9, [x9, _MMAL_EVENT_PARAMETER_CHANGED@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_3
; %bb.1:
	ldr	x20, [x19, #8]
	ldr	w8, [x20]
	cmp	w8, #128
	b.ne	LBB0_7
; %bb.2:
	ldp	w9, w8, [x20, #28]
	ldp	w11, w10, [x20, #20]
	ldr	w12, [x20, #16]
	stp	x11, x12, [sp, #24]
	stp	x9, x10, [sp, #8]
	str	x8, [sp]
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_vcos_log_error
	ldp	w9, w8, [x20, #8]
	ldp	w11, w10, [x20]
	stp	x10, x11, [sp, #16]
	stp	x8, x9, [sp]
Lloh10:
	adrp	x0, l_.str.2@PAGE
Lloh11:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_6
LBB0_3:
Lloh12:
	adrp	x9, _MMAL_EVENT_ERROR@GOTPAGE
Lloh13:
	ldr	x9, [x9, _MMAL_EVENT_ERROR@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_5
; %bb.4:
Lloh15:
	adrp	x0, l_.str.3@PAGE
Lloh16:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_6
LBB0_5:
	str	x8, [sp]
Lloh17:
	adrp	x0, l_.str.4@PAGE
Lloh18:
	add	x0, x0, l_.str.4@PAGEOFF
LBB0_6:
	bl	_vcos_log_error
LBB0_7:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_mmal_buffer_header_release
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Camera control callback  cmd=0x%08x"

	.comm	_MMAL_EVENT_PARAMETER_CHANGED,8,3 ; @MMAL_EVENT_PARAMETER_CHANGED
l_.str.1:                               ; @.str.1
	.asciz	"Exposure now %u, analog gain %u/%u, digital gain %u/%u"

l_.str.2:                               ; @.str.2
	.asciz	"AWB R=%u/%u, B=%u/%u"

	.comm	_MMAL_EVENT_ERROR,8,3           ; @MMAL_EVENT_ERROR
l_.str.3:                               ; @.str.3
	.asciz	"No data received from sensor. Check all connections, including the Sunny one on the camera board"

l_.str.4:                               ; @.str.4
	.asciz	"Received unexpected camera control callback event, 0x%08x"

.subsections_via_symbols
