	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tm6000_i2c_recv_regs16
_tm6000_i2c_recv_regs16:                ## @tm6000_i2c_recv_regs16
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	$-1, %eax
	testq	%rcx, %rcx
	je	LBB0_7
## %bb.1:
	cmpl	$2, %r8d
	jne	LBB0_7
## %bb.2:
	movq	%rcx, %r15
	movl	%edx, %r14d
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	_TM6010@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.3:
	movb	%r14b, -41(%rbp)
	movq	_USB_DIR_OUT@GOTPCREL(%rip), %rcx
	movq	_USB_TYPE_VENDOR@GOTPCREL(%rip), %r12
	movl	(%r12), %eax
	orl	(%rcx), %eax
	movq	_USB_RECIP_DEVICE@GOTPCREL(%rip), %r13
	orl	(%r13), %eax
	movq	_REQ_16_SET_GET_I2C_WR1_RDN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	$1, (%rsp)
	movzbl	%sil, %ecx
	leaq	-41(%rbp), %r9
	movq	%rbx, %rdi
	movl	%eax, %esi
	xorl	%r8d, %r8d
	xorl	%eax, %eax
	callq	_tm6000_read_write_usb
	testl	%eax, %eax
	js	LBB0_7
## %bb.4:
	movq	_USB_DIR_IN@GOTPCREL(%rip), %rax
	movl	(%r12), %esi
	orl	(%rax), %esi
	orl	(%r13), %esi
	movq	_REQ_35_AFTEK_TUNER_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$2, (%rsp)
	movzbl	%r14b, %ecx
	movq	%rbx, %rdi
	xorl	%r8d, %r8d
	jmp	LBB0_6
LBB0_5:
	movq	_USB_DIR_IN@GOTPCREL(%rip), %rcx
	movq	_USB_TYPE_VENDOR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%rcx), %eax
	movq	_USB_RECIP_DEVICE@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_REQ_14_SET_GET_I2C_WR2_RDN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	$2, (%rsp)
	movzbl	%sil, %ecx
	movq	%rbx, %rdi
	movl	%eax, %esi
	movl	%r14d, %r8d
LBB0_6:
	movq	%r15, %r9
	xorl	%eax, %eax
	callq	_tm6000_read_write_usb
LBB0_7:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TM6010,8,3                     ## @TM6010
	.comm	_USB_DIR_OUT,4,2                ## @USB_DIR_OUT
	.comm	_USB_TYPE_VENDOR,4,2            ## @USB_TYPE_VENDOR
	.comm	_USB_RECIP_DEVICE,4,2           ## @USB_RECIP_DEVICE
	.comm	_REQ_16_SET_GET_I2C_WR1_RDN,4,2 ## @REQ_16_SET_GET_I2C_WR1_RDN
	.comm	_USB_DIR_IN,4,2                 ## @USB_DIR_IN
	.comm	_REQ_35_AFTEK_TUNER_READ,4,2    ## @REQ_35_AFTEK_TUNER_READ
	.comm	_REQ_14_SET_GET_I2C_WR2_RDN,4,2 ## @REQ_14_SET_GET_I2C_WR2_RDN
	.no_dead_strip	_tm6000_i2c_recv_regs16
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tm6000_i2c_recv_regs16
_tm6000_i2c_recv_regs16:                ; @tm6000_i2c_recv_regs16
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x21, x3
	mov	x20, x0
	mov	w0, #-1
	cbz	x3, LBB0_7
; %bb.1:
	cmp	w4, #2
	b.ne	LBB0_7
; %bb.2:
	mov	x19, x2
	mov	x3, x1
	ldr	x8, [x20]
Lloh0:
	adrp	x9, _TM6010@GOTPAGE
Lloh1:
	ldr	x9, [x9, _TM6010@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.3:
	strb	w19, [sp, #31]
Lloh3:
	adrp	x8, _USB_DIR_OUT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _USB_DIR_OUT@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x22, _USB_TYPE_VENDOR@GOTPAGE
Lloh7:
	ldr	x22, [x22, _USB_TYPE_VENDOR@GOTPAGEOFF]
	ldr	w9, [x22]
Lloh8:
	adrp	x23, _USB_RECIP_DEVICE@GOTPAGE
Lloh9:
	ldr	x23, [x23, _USB_RECIP_DEVICE@GOTPAGEOFF]
	orr	w8, w9, w8
	ldr	w9, [x23]
	orr	w1, w8, w9
Lloh10:
	adrp	x8, _REQ_16_SET_GET_I2C_WR1_RDN@GOTPAGE
Lloh11:
	ldr	x8, [x8, _REQ_16_SET_GET_I2C_WR1_RDN@GOTPAGEOFF]
Lloh12:
	ldr	w2, [x8]
	mov	w8, #1
	add	x9, sp, #31
	stp	x9, x8, [sp]
	mov	x0, x20
	mov	w4, #0
	bl	_tm6000_read_write_usb
	tbnz	w0, #31, LBB0_7
; %bb.4:
Lloh13:
	adrp	x8, _USB_DIR_IN@GOTPAGE
Lloh14:
	ldr	x8, [x8, _USB_DIR_IN@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	ldr	w9, [x22]
	orr	w8, w9, w8
	ldr	w9, [x23]
	orr	w1, w8, w9
Lloh16:
	adrp	x8, _REQ_35_AFTEK_TUNER_READ@GOTPAGE
Lloh17:
	ldr	x8, [x8, _REQ_35_AFTEK_TUNER_READ@GOTPAGEOFF]
Lloh18:
	ldr	w2, [x8]
	mov	w8, #2
	stp	x21, x8, [sp]
	and	w3, w19, #0xff
	mov	x0, x20
	mov	w4, #0
	b	LBB0_6
LBB0_5:
Lloh19:
	adrp	x8, _USB_DIR_IN@GOTPAGE
Lloh20:
	ldr	x8, [x8, _USB_DIR_IN@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
Lloh22:
	adrp	x9, _USB_TYPE_VENDOR@GOTPAGE
Lloh23:
	ldr	x9, [x9, _USB_TYPE_VENDOR@GOTPAGEOFF]
Lloh24:
	ldr	w9, [x9]
Lloh25:
	adrp	x10, _USB_RECIP_DEVICE@GOTPAGE
Lloh26:
	ldr	x10, [x10, _USB_RECIP_DEVICE@GOTPAGEOFF]
	orr	w8, w9, w8
Lloh27:
	ldr	w9, [x10]
	orr	w1, w8, w9
Lloh28:
	adrp	x8, _REQ_14_SET_GET_I2C_WR2_RDN@GOTPAGE
Lloh29:
	ldr	x8, [x8, _REQ_14_SET_GET_I2C_WR2_RDN@GOTPAGEOFF]
Lloh30:
	ldr	w2, [x8]
	mov	w8, #2
	stp	x21, x8, [sp]
	mov	x0, x20
	mov	x4, x19
LBB0_6:
	bl	_tm6000_read_write_usb
LBB0_7:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_TM6010,8,3                     ; @TM6010
	.comm	_USB_DIR_OUT,4,2                ; @USB_DIR_OUT
	.comm	_USB_TYPE_VENDOR,4,2            ; @USB_TYPE_VENDOR
	.comm	_USB_RECIP_DEVICE,4,2           ; @USB_RECIP_DEVICE
	.comm	_REQ_16_SET_GET_I2C_WR1_RDN,4,2 ; @REQ_16_SET_GET_I2C_WR1_RDN
	.comm	_USB_DIR_IN,4,2                 ; @USB_DIR_IN
	.comm	_REQ_35_AFTEK_TUNER_READ,4,2    ; @REQ_35_AFTEK_TUNER_READ
	.comm	_REQ_14_SET_GET_I2C_WR2_RDN,4,2 ; @REQ_14_SET_GET_I2C_WR2_RDN
	.no_dead_strip	_tm6000_i2c_recv_regs16
.subsections_via_symbols
