	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mmalcam_reset_focus
_mmalcam_reset_focus:                   ## @mmalcam_reset_focus
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	_MMAL_PARAMETER_FOCUS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)
	movq	_MMAL_PARAM_FOCUS_FIXED_HYPERFOCAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)
	movl	$0, -40(%rbp)
	movq	$0, -36(%rbp)
	movl	(%rdi), %edi
	leaq	-48(%rbp), %rsi
	callq	_mmal_port_parameter_set
	movq	_MMAL_SUCCESS@GOTPCREL(%rip), %r15
	cmpq	(%r15), %rax
	jne	LBB0_1
## %bb.2:
	movl	%r14d, -44(%rbp)
	movl	(%rbx), %edi
	leaq	-48(%rbp), %rsi
	callq	_mmal_port_parameter_set
	cmpq	(%r15), %rax
	jne	LBB0_4
## %bb.3:
	movq	_MMAL_TRUE@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_1:
	leaq	L_.str(%rip), %rdi
	movq	%rax, %rsi
	xorl	%eax, %eax
	callq	_LOG_ERROR
	jmp	LBB0_5
LBB0_4:
	movslq	%r14d, %rsi
	leaq	L_.str.1(%rip), %rdi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_LOG_ERROR
LBB0_5:
	movq	_MMAL_FALSE@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MMAL_PARAMETER_FOCUS,4,2       ## @MMAL_PARAMETER_FOCUS
	.comm	_MMAL_PARAM_FOCUS_FIXED_HYPERFOCAL,4,2 ## @MMAL_PARAM_FOCUS_FIXED_HYPERFOCAL
	.comm	_MMAL_SUCCESS,8,3               ## @MMAL_SUCCESS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to set focus to HYPERFOCAL, result %d"

	.comm	_MMAL_FALSE,4,2                 ## @MMAL_FALSE
L_.str.1:                               ## @.str.1
	.asciz	"Failed to set focus to %d, result %d"

	.comm	_MMAL_TRUE,4,2                  ## @MMAL_TRUE
	.no_dead_strip	_mmalcam_reset_focus
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mmalcam_reset_focus
_mmalcam_reset_focus:                   ; @mmalcam_reset_focus
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _MMAL_PARAMETER_FOCUS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MMAL_PARAMETER_FOCUS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _MMAL_PARAM_FOCUS_FIXED_HYPERFOCAL@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MMAL_PARAM_FOCUS_FIXED_HYPERFOCAL@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	stp	w8, w9, [sp, #8]
	str	wzr, [sp, #16]
	stur	xzr, [sp, #20]
	ldr	w0, [x0]
	add	x1, sp, #8
	bl	_mmal_port_parameter_set
Lloh6:
	adrp	x21, _MMAL_SUCCESS@GOTPAGE
Lloh7:
	ldr	x21, [x21, _MMAL_SUCCESS@GOTPAGEOFF]
	ldr	x8, [x21]
	cmp	x0, x8
	b.ne	LBB0_3
; %bb.1:
	str	w19, [sp, #12]
	ldr	w0, [x20]
	add	x1, sp, #8
	bl	_mmal_port_parameter_set
	ldr	x8, [x21]
	cmp	x0, x8
	b.ne	LBB0_4
; %bb.2:
Lloh8:
	adrp	x8, _MMAL_TRUE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MMAL_TRUE@GOTPAGEOFF]
	b	LBB0_6
LBB0_3:
	mov	x1, x0
Lloh10:
	adrp	x0, l_.str@PAGE
Lloh11:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_5
LBB0_4:
	sxtw	x1, w19
	str	x0, [sp]
Lloh12:
	adrp	x0, l_.str.1@PAGE
Lloh13:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_5:
	bl	_LOG_ERROR
Lloh14:
	adrp	x8, _MMAL_FALSE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _MMAL_FALSE@GOTPAGEOFF]
LBB0_6:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_MMAL_PARAMETER_FOCUS,4,2       ; @MMAL_PARAMETER_FOCUS
	.comm	_MMAL_PARAM_FOCUS_FIXED_HYPERFOCAL,4,2 ; @MMAL_PARAM_FOCUS_FIXED_HYPERFOCAL
	.comm	_MMAL_SUCCESS,8,3               ; @MMAL_SUCCESS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to set focus to HYPERFOCAL, result %d"

	.comm	_MMAL_FALSE,4,2                 ; @MMAL_FALSE
l_.str.1:                               ; @.str.1
	.asciz	"Failed to set focus to %d, result %d"

	.comm	_MMAL_TRUE,4,2                  ; @MMAL_TRUE
	.no_dead_strip	_mmalcam_reset_focus
.subsections_via_symbols
