	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function imx274_load_default
_imx274_load_default:                   ## @imx274_load_default
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movl	$1, 32(%rdi)
	movq	_IMX274_DEF_FRAME_RATE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%ecx, 36(%rdi)
	movl	$1000000, %eax                  ## imm = 0xF4240
	xorl	%edx, %edx
	idivl	%ecx
	movq	16(%rdi), %rcx
	movl	%eax, (%rcx)
	movq	_IMX274_DEF_GAIN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	8(%rdi), %rcx
	movl	%eax, (%rcx)
	movq	(%rdi), %rax
	movl	$0, (%rax)
	movq	_TEST_PATTERN_DISABLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	24(%rdi), %rcx
	movl	%eax, (%rcx)
	movq	32(%rdi), %rsi
	callq	_imx274_set_frame_interval
	testl	%eax, %eax
	jne	LBB0_3
## %bb.1:
	movq	16(%rbx), %rdi
	movl	(%rdi), %esi
	callq	_v4l2_ctrl_s_ctrl
	testl	%eax, %eax
	jne	LBB0_3
## %bb.2:
	movq	8(%rbx), %rdi
	movl	(%rdi), %esi
	callq	_v4l2_ctrl_s_ctrl
	testl	%eax, %eax
	je	LBB0_4
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_4:
	movq	(%rbx), %rdi
	movl	(%rdi), %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_v4l2_ctrl_s_ctrl               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IMX274_DEF_FRAME_RATE,4,2      ## @IMX274_DEF_FRAME_RATE
	.comm	_IMX274_DEF_GAIN,4,2            ## @IMX274_DEF_GAIN
	.comm	_TEST_PATTERN_DISABLED,4,2      ## @TEST_PATTERN_DISABLED
	.no_dead_strip	_imx274_load_default
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function imx274_load_default
_imx274_load_default:                   ; @imx274_load_default
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, _IMX274_DEF_FRAME_RATE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IMX274_DEF_FRAME_RATE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	mov	w9, #16960
	movk	w9, #15, lsl #16
	sdiv	w9, w9, w8
	ldp	x10, x11, [x0, #16]
	str	w9, [x10]
Lloh3:
	adrp	x9, _IMX274_DEF_GAIN@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IMX274_DEF_GAIN@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	ldp	x12, x10, [x0]
	str	w9, [x10]
	mov	w9, #1
	stp	w9, w8, [x0, #32]
	str	wzr, [x12]
Lloh6:
	adrp	x8, _TEST_PATTERN_DISABLED@GOTPAGE
Lloh7:
	ldr	x8, [x8, _TEST_PATTERN_DISABLED@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [x11]
	ldr	x1, [x0, #32]
	bl	_imx274_set_frame_interval
	cbnz	w0, LBB0_3
; %bb.1:
	ldr	x0, [x19, #16]
	ldr	w1, [x0]
	bl	_v4l2_ctrl_s_ctrl
	cbnz	w0, LBB0_3
; %bb.2:
	ldr	x0, [x19, #8]
	ldr	w1, [x0]
	bl	_v4l2_ctrl_s_ctrl
	cbz	w0, LBB0_4
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_4:
	ldr	x0, [x19]
	ldr	w1, [x0]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_v4l2_ctrl_s_ctrl
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_IMX274_DEF_FRAME_RATE,4,2      ; @IMX274_DEF_FRAME_RATE
	.comm	_IMX274_DEF_GAIN,4,2            ; @IMX274_DEF_GAIN
	.comm	_TEST_PATTERN_DISABLED,4,2      ; @TEST_PATTERN_DISABLED
	.no_dead_strip	_imx274_load_default
.subsections_via_symbols
