	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_cfg_modes
_set_cfg_modes:                         ## @set_cfg_modes
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	8(%rdi), %rax
	movq	16(%rdi), %rcx
	movq	_Q_DATA_SRC@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	(%rcx,%rdx,8), %rcx
	movq	16(%rax), %rdi
	movq	(%rax), %rdx
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	8(%rax), %r12
	movq	(%rcx), %rax
	movq	_V4L2_PIX_FMT_NV12@GOTPCREL(%rip), %rcx
	xorl	%ebx, %ebx
	cmpq	(%rcx), %rax
	setne	%bl
	movq	_VPE_US_MODE_MASK@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	movq	_VPE_US_MODE_SHIFT@GOTPCREL(%rip), %r14
	movl	(%r14), %ecx
	movl	%ebx, %esi
	callq	_write_field
	movl	(%r13), %edx
	movl	(%r14), %ecx
	movq	%r12, %rdi
	movl	%ebx, %esi
	callq	_write_field
	movl	(%r13), %edx
	movl	(%r14), %ecx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%ebx, %esi
	callq	_write_field
	movl	$1, (%r15)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_Q_DATA_SRC,8,3                 ## @Q_DATA_SRC
	.comm	_V4L2_PIX_FMT_NV12,8,3          ## @V4L2_PIX_FMT_NV12
	.comm	_VPE_US_MODE_MASK,4,2           ## @VPE_US_MODE_MASK
	.comm	_VPE_US_MODE_SHIFT,4,2          ## @VPE_US_MODE_SHIFT
	.no_dead_strip	_set_cfg_modes
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_cfg_modes
_set_cfg_modes:                         ; @set_cfg_modes
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _Q_DATA_SRC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _Q_DATA_SRC@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldp	x10, x9, [x0, #8]
	ldr	x8, [x9, x8, lsl #3]
	ldp	x20, x0, [x10, #8]
	ldr	x21, [x10]
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _V4L2_PIX_FMT_NV12@GOTPAGE
Lloh4:
	ldr	x9, [x9, _V4L2_PIX_FMT_NV12@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w22, ne
Lloh6:
	adrp	x23, _VPE_US_MODE_MASK@GOTPAGE
Lloh7:
	ldr	x23, [x23, _VPE_US_MODE_MASK@GOTPAGEOFF]
	ldr	w2, [x23]
Lloh8:
	adrp	x24, _VPE_US_MODE_SHIFT@GOTPAGE
Lloh9:
	ldr	x24, [x24, _VPE_US_MODE_SHIFT@GOTPAGEOFF]
	ldr	w3, [x24]
	mov	x1, x22
	bl	_write_field
	ldr	w2, [x23]
	ldr	w3, [x24]
	mov	x0, x20
	mov	x1, x22
	bl	_write_field
	ldr	w2, [x23]
	ldr	w3, [x24]
	mov	x0, x21
	mov	x1, x22
	bl	_write_field
	mov	w8, #1
	str	w8, [x19]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_Q_DATA_SRC,8,3                 ; @Q_DATA_SRC
	.comm	_V4L2_PIX_FMT_NV12,8,3          ; @V4L2_PIX_FMT_NV12
	.comm	_VPE_US_MODE_MASK,4,2           ; @VPE_US_MODE_MASK
	.comm	_VPE_US_MODE_SHIFT,4,2          ; @VPE_US_MODE_SHIFT
	.no_dead_strip	_set_cfg_modes
.subsections_via_symbols
