	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __xtpg_update_pattern_control
___xtpg_update_pattern_control:         ## @__xtpg_update_pattern_control
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rdi, %r8
	movq	8(%rdi), %rdi
	movl	(%rdi), %r9d
	leal	1(%r9), %ecx
	movl	$-1, %eax
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %eax
	notl	%eax
	cmpl	$1, (%r8)
	je	LBB0_4
## %bb.1:
	testl	%esi, %esi
	je	LBB0_4
## %bb.2:
	cmpl	$0, 16(%r8)
	je	LBB0_4
## %bb.3:
	andl	$-2, %eax
LBB0_4:
	movl	%eax, %ecx
	andl	$1, %ecx
	xorl	%esi, %esi
	testl	%edx, %edx
	setne	%sil
	leal	(%rsi,%rsi,8), %r8d
	cmovel	%eax, %ecx
	xorl	%esi, %esi
	movl	%r9d, %edx
	popq	%rbp
	jmp	___v4l2_ctrl_modify_range       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	___xtpg_update_pattern_control
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __xtpg_update_pattern_control
___xtpg_update_pattern_control:         ; @__xtpg_update_pattern_control
	.cfi_startproc
; %bb.0:
	mov	x8, x2
	mov	x9, x0
	ldr	x0, [x0, #8]
	ldr	w2, [x0]
	add	w10, w2, #1
	mov	w11, #-1
	lsl	w10, w11, w10
	mvn	w10, w10
	ldr	w11, [x9]
	cmp	w11, #1
	b.eq	LBB0_4
; %bb.1:
	cbz	w1, LBB0_4
; %bb.2:
	ldr	w9, [x9, #16]
	cbz	w9, LBB0_4
; %bb.3:
	and	w10, w10, #0xfffffffe
LBB0_4:
	and	w9, w10, #0x1
	mov	w11, #9
	cmp	w8, #0
	csel	w4, wzr, w11, eq
	csel	w3, w10, w9, eq
	mov	w1, #0
	b	___v4l2_ctrl_modify_range
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	___xtpg_update_pattern_control
.subsections_via_symbols
