	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rt2500usb_reset_tuner
_rt2500usb_reset_tuner:                 ## @rt2500usb_reset_tuner
	.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	%rsi, %r14
	movq	%rdi, %r15
	movq	_EEPROM_BBPTUNE_R24@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_rt2x00_eeprom_read
	movq	_EEPROM_BBPTUNE_R24_LOW@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_rt2x00_get_field16
	movq	%r15, %rdi
	movl	$24, %esi
	movl	%eax, %edx
	callq	_rt2500usb_bbp_write
	movq	_EEPROM_BBPTUNE_R25@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_rt2x00_eeprom_read
	movq	_EEPROM_BBPTUNE_R25_LOW@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_rt2x00_get_field16
	movq	%r15, %rdi
	movl	$25, %esi
	movl	%eax, %edx
	callq	_rt2500usb_bbp_write
	movq	_EEPROM_BBPTUNE_R61@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_rt2x00_eeprom_read
	movq	_EEPROM_BBPTUNE_R61_LOW@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_rt2x00_get_field16
	movq	%r15, %rdi
	movl	$61, %esi
	movl	%eax, %edx
	callq	_rt2500usb_bbp_write
	movq	_EEPROM_BBPTUNE_VGC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_rt2x00_eeprom_read
	movq	_EEPROM_BBPTUNE_VGCUPPER@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_rt2x00_get_field16
	movl	%eax, %ebx
	movq	%r15, %rdi
	movl	$17, %esi
	movl	%eax, %edx
	callq	_rt2500usb_bbp_write
	movl	%ebx, (%r14)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EEPROM_BBPTUNE_R24,4,2         ## @EEPROM_BBPTUNE_R24
	.comm	_EEPROM_BBPTUNE_R24_LOW,4,2     ## @EEPROM_BBPTUNE_R24_LOW
	.comm	_EEPROM_BBPTUNE_R25,4,2         ## @EEPROM_BBPTUNE_R25
	.comm	_EEPROM_BBPTUNE_R25_LOW,4,2     ## @EEPROM_BBPTUNE_R25_LOW
	.comm	_EEPROM_BBPTUNE_R61,4,2         ## @EEPROM_BBPTUNE_R61
	.comm	_EEPROM_BBPTUNE_R61_LOW,4,2     ## @EEPROM_BBPTUNE_R61_LOW
	.comm	_EEPROM_BBPTUNE_VGC,4,2         ## @EEPROM_BBPTUNE_VGC
	.comm	_EEPROM_BBPTUNE_VGCUPPER,4,2    ## @EEPROM_BBPTUNE_VGCUPPER
	.no_dead_strip	_rt2500usb_reset_tuner
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rt2500usb_reset_tuner
_rt2500usb_reset_tuner:                 ; @rt2500usb_reset_tuner
	.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	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _EEPROM_BBPTUNE_R24@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EEPROM_BBPTUNE_R24@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_rt2x00_eeprom_read
Lloh3:
	adrp	x8, _EEPROM_BBPTUNE_R24_LOW@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EEPROM_BBPTUNE_R24_LOW@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_rt2x00_get_field16
	mov	x2, x0
	mov	x0, x20
	mov	w1, #24
	bl	_rt2500usb_bbp_write
Lloh6:
	adrp	x8, _EEPROM_BBPTUNE_R25@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EEPROM_BBPTUNE_R25@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_rt2x00_eeprom_read
Lloh9:
	adrp	x8, _EEPROM_BBPTUNE_R25_LOW@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EEPROM_BBPTUNE_R25_LOW@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	bl	_rt2x00_get_field16
	mov	x2, x0
	mov	x0, x20
	mov	w1, #25
	bl	_rt2500usb_bbp_write
Lloh12:
	adrp	x8, _EEPROM_BBPTUNE_R61@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EEPROM_BBPTUNE_R61@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_rt2x00_eeprom_read
Lloh15:
	adrp	x8, _EEPROM_BBPTUNE_R61_LOW@GOTPAGE
Lloh16:
	ldr	x8, [x8, _EEPROM_BBPTUNE_R61_LOW@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	bl	_rt2x00_get_field16
	mov	x2, x0
	mov	x0, x20
	mov	w1, #61
	bl	_rt2500usb_bbp_write
Lloh18:
	adrp	x8, _EEPROM_BBPTUNE_VGC@GOTPAGE
Lloh19:
	ldr	x8, [x8, _EEPROM_BBPTUNE_VGC@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_rt2x00_eeprom_read
Lloh21:
	adrp	x8, _EEPROM_BBPTUNE_VGCUPPER@GOTPAGE
Lloh22:
	ldr	x8, [x8, _EEPROM_BBPTUNE_VGCUPPER@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	bl	_rt2x00_get_field16
	mov	x21, x0
	mov	x0, x20
	mov	w1, #17
	mov	x2, x21
	bl	_rt2500usb_bbp_write
	str	w21, [x19]
	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	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EEPROM_BBPTUNE_R24,4,2         ; @EEPROM_BBPTUNE_R24
	.comm	_EEPROM_BBPTUNE_R24_LOW,4,2     ; @EEPROM_BBPTUNE_R24_LOW
	.comm	_EEPROM_BBPTUNE_R25,4,2         ; @EEPROM_BBPTUNE_R25
	.comm	_EEPROM_BBPTUNE_R25_LOW,4,2     ; @EEPROM_BBPTUNE_R25_LOW
	.comm	_EEPROM_BBPTUNE_R61,4,2         ; @EEPROM_BBPTUNE_R61
	.comm	_EEPROM_BBPTUNE_R61_LOW,4,2     ; @EEPROM_BBPTUNE_R61_LOW
	.comm	_EEPROM_BBPTUNE_VGC,4,2         ; @EEPROM_BBPTUNE_VGC
	.comm	_EEPROM_BBPTUNE_VGCUPPER,4,2    ; @EEPROM_BBPTUNE_VGCUPPER
	.no_dead_strip	_rt2500usb_reset_tuner
.subsections_via_symbols
