	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cx18_reset_tuner_gpio          ## -- Begin function cx18_reset_tuner_gpio
	.p2align	4, 0x90
_cx18_reset_tuner_gpio:                 ## @cx18_reset_tuner_gpio
	.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	_XC2028_TUNER_RESET@GOTPCREL(%rip), %rax
	cmpl	%edx, (%rax)
	jne	LBB0_2
## %bb.1:
	movq	(%rdi), %rax
	movq	(%rax), %rbx
	movq	8(%rbx), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	_TUNER_XC2028@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.3:
	leaq	L_.str(%rip), %rdi
	callq	_CX18_DEBUG_INFO
	movq	_core@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_reset@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_CX18_GPIO_RESET_XC2028@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_v4l2_subdev_call               ## TAILCALL
LBB0_2:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_XC2028_TUNER_RESET,4,2         ## @XC2028_TUNER_RESET
	.comm	_TUNER_XC2028,8,3               ## @TUNER_XC2028
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Resetting XCeive tuner\n"

	.comm	_core,4,2                       ## @core
	.comm	_reset,4,2                      ## @reset
	.comm	_CX18_GPIO_RESET_XC2028,4,2     ## @CX18_GPIO_RESET_XC2028
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cx18_reset_tuner_gpio          ; -- Begin function cx18_reset_tuner_gpio
	.p2align	2
_cx18_reset_tuner_gpio:                 ; @cx18_reset_tuner_gpio
	.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
Lloh0:
	adrp	x8, _XC2028_TUNER_RESET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _XC2028_TUNER_RESET@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w2
	b.ne	LBB0_3
; %bb.1:
	ldr	x8, [x0]
	ldr	x19, [x8]
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _TUNER_XC2028@GOTPAGE
Lloh4:
	ldr	x9, [x9, _TUNER_XC2028@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.2:
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_CX18_DEBUG_INFO
Lloh8:
	adrp	x8, _core@GOTPAGE
Lloh9:
	ldr	x8, [x8, _core@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
Lloh11:
	adrp	x8, _reset@GOTPAGE
Lloh12:
	ldr	x8, [x8, _reset@GOTPAGEOFF]
Lloh13:
	adrp	x9, _CX18_GPIO_RESET_XC2028@GOTPAGE
Lloh14:
	ldr	x9, [x9, _CX18_GPIO_RESET_XC2028@GOTPAGEOFF]
Lloh15:
	ldr	w2, [x8]
Lloh16:
	ldr	w3, [x9]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_v4l2_subdev_call
LBB0_3:
	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
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh15
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_XC2028_TUNER_RESET,4,2         ; @XC2028_TUNER_RESET
	.comm	_TUNER_XC2028,8,3               ; @TUNER_XC2028
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Resetting XCeive tuner\n"

	.comm	_core,4,2                       ; @core
	.comm	_reset,4,2                      ; @reset
	.comm	_CX18_GPIO_RESET_XC2028,4,2     ; @CX18_GPIO_RESET_XC2028
.subsections_via_symbols
