	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function af9035_fc0011_tuner_callback
_af9035_fc0011_tuner_callback:          ## @af9035_fc0011_tuner_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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	(%rdi), %r14
	cmpl	$128, %esi
	je	LBB0_8
## %bb.1:
	cmpl	$129, %esi
	jne	LBB0_13
## %bb.2:
	movq	%r15, %rdi
	movl	$55531, %esi                    ## imm = 0xD8EB
	movl	$1, %edx
	movl	$1, %ecx
	callq	_af9035_wr_reg_mask
	testl	%eax, %eax
	js	LBB0_22
## %bb.3:
	movq	%r15, %rdi
	movl	$55532, %esi                    ## imm = 0xD8EC
	movl	$1, %edx
	movl	$1, %ecx
	callq	_af9035_wr_reg_mask
	testl	%eax, %eax
	js	LBB0_22
## %bb.4:
	movq	%r15, %rdi
	movl	$55533, %esi                    ## imm = 0xD8ED
	movl	$1, %edx
	movl	$1, %ecx
	callq	_af9035_wr_reg_mask
	testl	%eax, %eax
	js	LBB0_22
## %bb.5:
	movq	%r15, %rdi
	movl	$55504, %esi                    ## imm = 0xD8D0
	movl	$1, %edx
	movl	$1, %ecx
	callq	_af9035_wr_reg_mask
	testl	%eax, %eax
	js	LBB0_22
## %bb.6:
	movq	%r15, %rdi
	movl	$55505, %esi                    ## imm = 0xD8D1
	movl	$1, %edx
	movl	$1, %ecx
	callq	_af9035_wr_reg_mask
	testl	%eax, %eax
	js	LBB0_22
## %bb.7:
	movl	$10000, %edi                    ## imm = 0x2710
	movl	$50000, %esi                    ## imm = 0xC350
	callq	_usleep_range
	xorl	%ebx, %ebx
	jmp	LBB0_24
LBB0_8:
	movq	%r15, %rdi
	movl	$55529, %esi                    ## imm = 0xD8E9
	movl	$1, %edx
	callq	_af9035_wr_reg
	testl	%eax, %eax
	js	LBB0_22
## %bb.9:
	movq	%r15, %rdi
	movl	$55528, %esi                    ## imm = 0xD8E8
	movl	$1, %edx
	callq	_af9035_wr_reg
	testl	%eax, %eax
	js	LBB0_22
## %bb.10:
	movq	%r15, %rdi
	movl	$55527, %esi                    ## imm = 0xD8E7
	movl	$1, %edx
	callq	_af9035_wr_reg
	testl	%eax, %eax
	js	LBB0_22
## %bb.11:
	movl	$10000, %edi                    ## imm = 0x2710
	movl	$20000, %esi                    ## imm = 0x4E20
	callq	_usleep_range
	xorl	%ebx, %ebx
	movq	%r15, %rdi
	movl	$55527, %esi                    ## imm = 0xD8E7
	xorl	%edx, %edx
	callq	_af9035_wr_reg
	testl	%eax, %eax
	js	LBB0_22
## %bb.12:
	movl	$10000, %edi                    ## imm = 0x2710
	movl	$20000, %esi                    ## imm = 0x4E20
	callq	_usleep_range
	jmp	LBB0_24
LBB0_22:
	movl	%eax, %ebx
	jmp	LBB0_23
LBB0_13:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_23:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_dev_dbg
LBB0_24:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"failed=%d\n"

	.no_dead_strip	_af9035_fc0011_tuner_callback
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function af9035_fc0011_tuner_callback
_af9035_fc0011_tuner_callback:          ; @af9035_fc0011_tuner_callback
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x0
	ldr	x19, [x0]
	cmp	w1, #128
	b.eq	LBB0_8
; %bb.1:
	cmp	w1, #129
	b.ne	LBB0_15
; %bb.2:
	mov	x0, x20
	mov	w1, #55531
	mov	w2, #1
	mov	w3, #1
	bl	_af9035_wr_reg_mask
	tbnz	w0, #31, LBB0_14
; %bb.3:
	mov	x0, x20
	mov	w1, #55532
	mov	w2, #1
	mov	w3, #1
	bl	_af9035_wr_reg_mask
	tbnz	w0, #31, LBB0_14
; %bb.4:
	mov	x0, x20
	mov	w1, #55533
	mov	w2, #1
	mov	w3, #1
	bl	_af9035_wr_reg_mask
	tbnz	w0, #31, LBB0_14
; %bb.5:
	mov	x0, x20
	mov	w1, #55504
	mov	w2, #1
	mov	w3, #1
	bl	_af9035_wr_reg_mask
	tbnz	w0, #31, LBB0_14
; %bb.6:
	mov	x0, x20
	mov	w1, #55505
	mov	w2, #1
	mov	w3, #1
	bl	_af9035_wr_reg_mask
	tbnz	w0, #31, LBB0_14
; %bb.7:
	mov	w0, #10000
	mov	w1, #50000
	b	LBB0_13
LBB0_8:
	mov	x0, x20
	mov	w1, #55529
	mov	w2, #1
	bl	_af9035_wr_reg
	tbnz	w0, #31, LBB0_14
; %bb.9:
	mov	x0, x20
	mov	w1, #55528
	mov	w2, #1
	bl	_af9035_wr_reg
	tbnz	w0, #31, LBB0_14
; %bb.10:
	mov	x0, x20
	mov	w1, #55527
	mov	w2, #1
	bl	_af9035_wr_reg
	tbnz	w0, #31, LBB0_14
; %bb.11:
	mov	w0, #10000
	mov	w1, #20000
	bl	_usleep_range
	mov	x0, x20
	mov	w1, #55527
	mov	w2, #0
	bl	_af9035_wr_reg
	tbnz	w0, #31, LBB0_14
; %bb.12:
	mov	w0, #10000
	mov	w1, #20000
LBB0_13:
	bl	_usleep_range
	mov	w21, #0
	b	LBB0_17
LBB0_14:
	mov	x21, x0
	b	LBB0_16
LBB0_15:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w21, w8
LBB0_16:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x2, x21
	bl	_dev_dbg
LBB0_17:
	mov	x0, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"failed=%d\n"

	.no_dead_strip	_af9035_fc0011_tuner_callback
.subsections_via_symbols
