	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function adv748x_csi2_init_controls
_adv748x_csi2_init_controls:            ## @adv748x_csi2_init_controls
	.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, %esi
	callq	_v4l2_ctrl_handler_init
	movq	_V4L2_CID_PIXEL_RATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_INT_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movl	$1, (%rsp)
	movq	_adv748x_csi2_ctrl_ops@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	movl	$1, %ecx
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
	movl	%eax, 16(%rbx)
	movq	%rbx, 8(%rbx)
	cmpl	$0, (%rbx)
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_v4l2_ctrl_handler_free
	movl	(%rbx), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_2:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_v4l2_ctrl_handler_setup        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_adv748x_csi2_ctrl_ops,4,2      ## @adv748x_csi2_ctrl_ops
	.comm	_V4L2_CID_PIXEL_RATE,4,2        ## @V4L2_CID_PIXEL_RATE
	.comm	_INT_MAX,4,2                    ## @INT_MAX
	.no_dead_strip	_adv748x_csi2_init_controls
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function adv748x_csi2_init_controls
_adv748x_csi2_init_controls:            ; @adv748x_csi2_init_controls
	.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
	mov	w1, #1
	bl	_v4l2_ctrl_handler_init
Lloh0:
	adrp	x8, _V4L2_CID_PIXEL_RATE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _V4L2_CID_PIXEL_RATE@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
Lloh3:
	adrp	x8, _INT_MAX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _INT_MAX@GOTPAGEOFF]
Lloh5:
	ldr	w4, [x8]
Lloh6:
	adrp	x1, _adv748x_csi2_ctrl_ops@GOTPAGE
Lloh7:
	ldr	x1, [x1, _adv748x_csi2_ctrl_ops@GOTPAGEOFF]
	mov	x0, x19
	mov	w3, #1
	mov	w5, #1
	mov	w6, #1
	bl	_v4l2_ctrl_new_std
	str	w0, [x19, #16]
	str	x19, [x19, #8]
	ldr	w8, [x19]
	cbz	w8, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_v4l2_ctrl_handler_free
	ldr	w0, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_v4l2_ctrl_handler_setup
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_adv748x_csi2_ctrl_ops,4,2      ; @adv748x_csi2_ctrl_ops
	.comm	_V4L2_CID_PIXEL_RATE,4,2        ; @V4L2_CID_PIXEL_RATE
	.comm	_INT_MAX,4,2                    ; @INT_MAX
	.no_dead_strip	_adv748x_csi2_init_controls
.subsections_via_symbols
