	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function resetctrl_reset
_resetctrl_reset:                       ## @resetctrl_reset
	.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
	movl	%esi, %ebx
	callq	_v4l2_get_subdevdata
	movq	(%rax), %rdi
	cmpl	$128, %ebx
	je	LBB0_4
## %bb.1:
	cmpl	$129, %ebx
	je	LBB0_5
## %bb.2:
	cmpl	$130, %ebx
	jne	LBB0_8
## %bb.3:
	movl	32(%rdi), %edx
	movl	16(%rdi), %esi
	movl	20(%rdi), %ecx
	movl	24(%rdi), %r8d
	movq	%rax, %rdi
	jmp	LBB0_7
LBB0_4:
	movl	28(%rdi), %esi
	movl	20(%rdi), %ecx
	movl	24(%rdi), %r8d
	movq	%rax, %rdi
	xorl	%edx, %edx
	jmp	LBB0_7
LBB0_5:
	movq	8(%rdi), %rcx
	movl	(%rcx), %ecx
	movq	_TUNER_XC2028@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	jne	LBB0_8
## %bb.6:
	movb	(%rdi), %cl
	movl	$1, %esi
	shll	%cl, %esi
	movq	%rax, %rdi
	xorl	%edx, %edx
	movl	$1, %ecx
	movl	$1, %r8d
LBB0_7:
	callq	_gpio_reset_seq
LBB0_8:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TUNER_XC2028,4,2               ## @TUNER_XC2028
	.no_dead_strip	_resetctrl_reset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function resetctrl_reset
_resetctrl_reset:                       ; @resetctrl_reset
	.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, x1
	bl	_v4l2_get_subdevdata
	ldr	x8, [x0]
	cmp	w19, #128
	b.eq	LBB0_4
; %bb.1:
	cmp	w19, #129
	b.eq	LBB0_5
; %bb.2:
	cmp	w19, #130
	b.ne	LBB0_8
; %bb.3:
	ldr	w2, [x8, #32]
	ldp	w1, w3, [x8, #16]
	ldr	w4, [x8, #24]
	b	LBB0_7
LBB0_4:
	ldp	w4, w1, [x8, #24]
	ldr	w3, [x8, #20]
	mov	w2, #0
	b	LBB0_7
LBB0_5:
	ldr	x9, [x8, #8]
	ldr	w9, [x9]
Lloh0:
	adrp	x10, _TUNER_XC2028@GOTPAGE
Lloh1:
	ldr	x10, [x10, _TUNER_XC2028@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	cmp	w9, w10
	b.ne	LBB0_8
; %bb.6:
	ldr	w8, [x8]
	mov	w9, #1
	lsl	w1, w9, w8
	mov	w2, #0
	mov	w3, #1
	mov	w4, #1
LBB0_7:
	bl	_gpio_reset_seq
LBB0_8:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_TUNER_XC2028,4,2               ; @TUNER_XC2028
	.no_dead_strip	_resetctrl_reset
.subsections_via_symbols
