	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tm6000_xc5000_callback         ## -- Begin function tm6000_xc5000_callback
	.p2align	4, 0x90
_tm6000_xc5000_callback:                ## @tm6000_xc5000_callback
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	cmpl	$128, %edx
	jne	LBB0_3
## %bb.1:
	movq	%rdi, %rbx
	movq	_TUNER_XC5000@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%rax, (%rdi)
	jne	LBB0_3
## %bb.2:
	movq	_REQ_03_SET_GET_MCU_PIN@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movl	8(%rbx), %edx
	movq	%rbx, %rdi
	movl	$1, %ecx
	callq	_tm6000_set_reg
	movl	$15, %edi
	callq	_msleep
	movl	(%r14), %esi
	movl	8(%rbx), %edx
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	callq	_tm6000_set_reg
	movl	$15, %edi
	callq	_msleep
	movl	(%r14), %esi
	movl	8(%rbx), %edx
	movq	%rbx, %rdi
	movl	$1, %ecx
	callq	_tm6000_set_reg
LBB0_3:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TUNER_XC5000,8,3               ## @TUNER_XC5000
	.comm	_REQ_03_SET_GET_MCU_PIN,4,2     ## @REQ_03_SET_GET_MCU_PIN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tm6000_xc5000_callback         ; -- Begin function tm6000_xc5000_callback
	.p2align	2
_tm6000_xc5000_callback:                ; @tm6000_xc5000_callback
	.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
	cmp	w2, #128
	b.ne	LBB0_3
; %bb.1:
	mov	x19, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _TUNER_XC5000@GOTPAGE
Lloh1:
	ldr	x9, [x9, _TUNER_XC5000@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.2:
Lloh3:
	adrp	x20, _REQ_03_SET_GET_MCU_PIN@GOTPAGE
Lloh4:
	ldr	x20, [x20, _REQ_03_SET_GET_MCU_PIN@GOTPAGEOFF]
	ldr	w1, [x20]
	ldr	w2, [x19, #8]
	mov	x0, x19
	mov	w3, #1
	bl	_tm6000_set_reg
	mov	w0, #15
	bl	_msleep
	ldr	w1, [x20]
	ldr	w2, [x19, #8]
	mov	x0, x19
	mov	w3, #0
	bl	_tm6000_set_reg
	mov	w0, #15
	bl	_msleep
	ldr	w1, [x20]
	ldr	w2, [x19, #8]
	mov	x0, x19
	mov	w3, #1
	bl	_tm6000_set_reg
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 AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_TUNER_XC5000,8,3               ; @TUNER_XC5000
	.comm	_REQ_03_SET_GET_MCU_PIN,4,2     ; @REQ_03_SET_GET_MCU_PIN
.subsections_via_symbols
