	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dw2102_load_firmware
_dw2102_load_firmware:                  ## @dw2102_load_firmware
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	xorps	%xmm0, %xmm0
	movups	%xmm0, -68(%rbp)
	movaps	%xmm0, -80(%rbp)
	movl	(%rdi), %edi
	callq	_le16_to_cpu
	cmpl	$8449, %eax                     ## imm = 0x2101
	jne	LBB0_3
## %bb.1:
	movq	_DW2101_FIRMWARE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	leaq	4(%r13), %rdx
	leaq	-96(%rbp), %rdi
	callq	_request_firmware
	testl	%eax, %eax
	je	LBB0_4
## %bb.2:
	movl	%eax, %r15d
	movq	_err_str@GOTPCREL(%rip), %rax
	movslq	(%rax), %rdi
	movl	(%rbx), %esi
	xorl	%eax, %eax
	callq	_err
	jmp	LBB0_31
LBB0_3:
	movq	%rbx, -96(%rbp)
LBB0_4:
	leaq	L_.str(%rip), %rdi
	callq	_info
	movq	-96(%rbp), %rax
	movl	(%rax), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_kmalloc
	movq	%rax, %r14
	movl	$1, -84(%rbp)
	movq	_DW210X_WRITE_MSG@GOTPCREL(%rip), %r12
	movl	(%r12), %eax
	movl	%eax, (%rsp)
	xorl	%r15d, %r15d
	leaq	-84(%rbp), %rbx
	movq	%r13, %rdi
	movl	$160, %esi
	movl	$32658, %edx                    ## imm = 0x7F92
	xorl	%ecx, %ecx
	movq	%rbx, %r8
	movl	$1, %r9d
	callq	_dw210x_op_rw
	movl	(%r12), %eax
	movl	%eax, (%rsp)
	movq	%r13, %rdi
	movl	$160, %esi
	movl	$58880, %edx                    ## imm = 0xE600
	xorl	%ecx, %ecx
	movq	%rbx, %r8
	movl	$1, %r9d
	callq	_dw210x_op_rw
	testq	%r14, %r14
	je	LBB0_29
## %bb.5:
	movq	-96(%rbp), %rax
	movl	(%rax), %edx
	movl	4(%rax), %esi
	movq	%r14, %rdi
	callq	_memcpy
	movq	-96(%rbp), %rax
	cmpl	$0, (%rax)
	jle	LBB0_9
## %bb.6:
	xorl	%ebx, %ebx
	movq	%r14, %r15
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %eax
	movl	%eax, (%rsp)
	movq	%r13, %rdi
	movl	$160, %esi
	movl	%ebx, %edx
	xorl	%ecx, %ecx
	movq	%r15, %r8
	movl	$64, %r9d
	callq	_dw210x_op_rw
	cmpl	$64, %eax
	jne	LBB0_11
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	-96(%rbp), %rax
	addl	$64, %ebx
	addq	$256, %r15                      ## imm = 0x100
	cmpl	%ebx, (%rax)
	jg	LBB0_7
LBB0_9:
	movl	$0, -84(%rbp)
LBB0_10:
	movl	(%r12), %eax
	movl	%eax, (%rsp)
	leaq	-84(%rbp), %r8
	movq	%r13, %rdi
	movl	$160, %esi
	movl	$32658, %edx                    ## imm = 0x7F92
	xorl	%ecx, %ecx
	movl	$1, %r9d
	callq	_dw210x_op_rw
	cmpl	$1, %eax
	jne	LBB0_12
	jmp	LBB0_13
LBB0_11:
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	movl	$0, -84(%rbp)
	je	LBB0_10
LBB0_12:
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_14
LBB0_13:
	movl	(%r12), %eax
	movl	%eax, (%rsp)
	xorl	%r15d, %r15d
	leaq	-84(%rbp), %r8
	movq	%r13, %rdi
	movl	$160, %esi
	movl	$58880, %edx                    ## imm = 0xE600
	xorl	%ecx, %ecx
	movl	$1, %r9d
	callq	_dw210x_op_rw
	cmpl	$1, %eax
	je	LBB0_15
LBB0_14:
	leaq	L_.str.2(%rip), %rdi
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subl	(%rax), %r15d
LBB0_15:
	movl	(%r13), %edi
	callq	_le16_to_cpu
                                        ## kill: def $eax killed $eax def $rax
	leal	-128(%rax), %ecx
	cmpl	$4, %ecx
	ja	LBB0_20
## %bb.16:
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rcx,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_17:
	movl	(%r12), %eax
	movl	%eax, (%rsp)
	leaq	-84(%rbp), %r8
	movq	%r13, %rdi
	movl	$191, %esi
	movl	$64, %edx
	xorl	%ecx, %ecx
	xorl	%r9d, %r9d
	callq	_dw210x_op_rw
	movq	_DW210X_READ_MSG@GOTPCREL(%rip), %rbx
	movl	(%rbx), %eax
	movl	%eax, (%rsp)
	leaq	-80(%rbp), %r8
	movq	%r13, %rdi
	movl	$185, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movl	$2, %r9d
	callq	_dw210x_op_rw
	movl	(%rbx), %eax
	movl	%eax, (%rsp)
	movq	%r13, %rdi
	movl	$181, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	leaq	-80(%rbp), %r8
	movl	$2, %r9d
	callq	_dw210x_op_rw
	movl	-80(%rbp), %eax
	cmpl	$161, %eax
	je	LBB0_19
## %bb.18:
	cmpl	$128, %eax
	jne	LBB0_24
LBB0_19:
	movq	_dw2102_i2c_algo@GOTPCREL(%rip), %rax
	movq	_dw2102_properties@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	8(%rcx), %rax
	movq	(%rax), %rax
	movq	_dw2102_tuner_attach@GOTPCREL(%rip), %rcx
	movq	%rcx, (%rax)
	jmp	LBB0_28
LBB0_20:
	cmpl	$8449, %eax                     ## imm = 0x2101
	jne	LBB0_28
	jmp	LBB0_26
LBB0_21:
	movq	_RC_MAP_TEVII_NEC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_dw2104_properties@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
LBB0_22:
	movl	$1, -84(%rbp)
	movl	(%r12), %eax
	movl	%eax, (%rsp)
	leaq	-84(%rbp), %r8
	movq	%r13, %rdi
	movl	$196, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movl	$1, %r9d
	callq	_dw210x_op_rw
LBB0_23:
	movl	$0, -84(%rbp)
	movl	(%r12), %eax
	movl	%eax, (%rsp)
	leaq	-84(%rbp), %r8
	movq	%r13, %rdi
	movl	$191, %esi
	movl	$64, %edx
	xorl	%ecx, %ecx
	xorl	%r9d, %r9d
	jmp	LBB0_27
LBB0_24:
	movabsq	$4294967504, %rax               ## imm = 0x1000000D0
	movq	%rax, -80(%rbp)
	movl	$0, -72(%rbp)
	movl	(%r12), %eax
	movl	%eax, (%rsp)
	leaq	-80(%rbp), %rbx
	movq	%r13, %rdi
	movl	$194, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movq	%rbx, %r8
	movl	$3, %r9d
	callq	_dw210x_op_rw
	movq	_DW210X_READ_MSG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rsp)
	movq	%r13, %rdi
	movl	$195, %esi
	movl	$209, %edx
	xorl	%ecx, %ecx
	movq	%rbx, %r8
	movl	$3, %r9d
	callq	_dw210x_op_rw
	cmpl	$17, -72(%rbp)
	jne	LBB0_26
## %bb.25:
	movq	_dw2102_earda_i2c_algo@GOTPCREL(%rip), %rax
	movq	_dw2102_properties@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	jmp	LBB0_28
LBB0_26:
	movq	_DW210X_READ_MSG@GOTPCREL(%rip), %rbx
	movl	(%rbx), %eax
	movl	%eax, (%rsp)
	leaq	-80(%rbp), %r12
	movq	%r13, %rdi
	movl	$188, %esi
	movl	$48, %edx
	xorl	%ecx, %ecx
	movq	%r12, %r8
	movl	$2, %r9d
	callq	_dw210x_op_rw
	movl	(%rbx), %eax
	movl	%eax, (%rsp)
	movq	%r13, %rdi
	movl	$186, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movq	%r12, %r8
	movl	$7, %r9d
	callq	_dw210x_op_rw
	movl	(%rbx), %eax
	movl	%eax, (%rsp)
	movq	%r13, %rdi
	movl	$186, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movq	%r12, %r8
	movl	$7, %r9d
	callq	_dw210x_op_rw
	movl	(%rbx), %eax
	movl	%eax, (%rsp)
	movq	%r13, %rdi
	movl	$185, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movq	%r12, %r8
	movl	$2, %r9d
LBB0_27:
	callq	_dw210x_op_rw
LBB0_28:
	movl	$100, %edi
	callq	_msleep
	movq	%r14, %rdi
	callq	_kfree
LBB0_29:
	movl	(%r13), %edi
	callq	_le16_to_cpu
	cmpl	$8449, %eax                     ## imm = 0x2101
	jne	LBB0_31
## %bb.30:
	movq	-96(%rbp), %rdi
	callq	_release_firmware
LBB0_31:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_33
## %bb.32:
	movl	%r15d, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_33:
	callq	___stack_chk_fail
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_21, LBB0_21-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_23, LBB0_23-LJTI0_0
.set L0_0_set_22, LBB0_22-LJTI0_0
LJTI0_0:
	.long	L0_0_set_21
	.long	L0_0_set_17
	.long	L0_0_set_23
	.long	L0_0_set_22
	.long	L0_0_set_17
	.end_data_region
                                        ## -- End function
	.comm	_DW2101_FIRMWARE,4,2            ## @DW2101_FIRMWARE
	.comm	_err_str,4,2                    ## @err_str
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"start downloading DW210X firmware"

	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_DW210X_WRITE_MSG,4,2           ## @DW210X_WRITE_MSG
L_.str.1:                               ## @.str.1
	.asciz	"error while transferring firmware"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.2:                               ## @.str.2
	.asciz	"could not restart the USB controller CPU."

	.comm	_RC_MAP_TEVII_NEC,4,2           ## @RC_MAP_TEVII_NEC
	.comm	_dw2104_properties,4,2          ## @dw2104_properties
	.comm	_DW210X_READ_MSG,4,2            ## @DW210X_READ_MSG
	.comm	_dw2102_i2c_algo,4,2            ## @dw2102_i2c_algo
	.comm	_dw2102_properties,16,3         ## @dw2102_properties
	.comm	_dw2102_tuner_attach,4,2        ## @dw2102_tuner_attach
	.comm	_dw2102_earda_i2c_algo,4,2      ## @dw2102_earda_i2c_algo
	.no_dead_strip	_dw2102_load_firmware
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function dw2102_load_firmware
lCPI0_0:
	.long	208                             ; 0xd0
	.long	1                               ; 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_dw2102_load_firmware:                  ; @dw2102_load_firmware
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #56]
	stp	xzr, xzr, [sp, #24]
	str	wzr, [sp, #48]
	str	xzr, [sp, #40]
	ldr	w0, [x0]
	bl	_le16_to_cpu
	mov	w8, #8449
	cmp	w0, w8
	b.ne	LBB0_3
; %bb.1:
Lloh3:
	adrp	x20, _DW2101_FIRMWARE@GOTPAGE
Lloh4:
	ldr	x20, [x20, _DW2101_FIRMWARE@GOTPAGEOFF]
	ldr	w1, [x20]
	add	x2, x19, #4
	add	x0, sp, #8
	bl	_request_firmware
	cbz	w0, LBB0_4
; %bb.2:
	mov	x21, x0
Lloh5:
	adrp	x8, _err_str@GOTPAGE
Lloh6:
	ldr	x8, [x8, _err_str@GOTPAGEOFF]
Lloh7:
	ldrsw	x0, [x8]
	ldr	w8, [x20]
	str	x8, [sp]
	bl	_err
	b	LBB0_33
LBB0_3:
	str	x20, [sp, #8]
LBB0_4:
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	bl	_info
	ldr	x8, [sp, #8]
	ldr	w0, [x8]
Lloh10:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh11:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	bl	_kmalloc
	mov	x20, x0
	mov	w8, #1
	str	w8, [sp, #20]
Lloh13:
	adrp	x23, _DW210X_WRITE_MSG@GOTPAGE
Lloh14:
	ldr	x23, [x23, _DW210X_WRITE_MSG@GOTPAGEOFF]
	ldr	w6, [x23]
	add	x4, sp, #20
	mov	x0, x19
	mov	w1, #160
	mov	w2, #32658
	mov	w3, #0
	mov	w5, #1
	bl	_dw210x_op_rw
	ldr	w6, [x23]
	add	x4, sp, #20
	mov	x0, x19
	mov	w1, #160
	mov	w2, #58880
	mov	w3, #0
	mov	w5, #1
	bl	_dw210x_op_rw
	cbz	x20, LBB0_11
; %bb.5:
	ldr	x8, [sp, #8]
	ldp	w2, w1, [x8]
	mov	x0, x20
	bl	_memcpy
	ldr	x8, [sp, #8]
	ldr	w8, [x8]
Lloh15:
	adrp	x24, _EINVAL@GOTPAGE
Lloh16:
	ldr	x24, [x24, _EINVAL@GOTPAGEOFF]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.6:
	mov	w21, #0
	mov	x22, x20
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w6, [x23]
	mov	x0, x19
	mov	w1, #160
	mov	x2, x21
	mov	w3, #0
	mov	x4, x22
	mov	w5, #64
	bl	_dw210x_op_rw
	cmp	w0, #64
	b.ne	LBB0_12
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [sp, #8]
	ldr	w8, [x8]
	add	w21, w21, #64
	add	x22, x22, #256
	cmp	w8, w21
	b.gt	LBB0_7
LBB0_9:
	str	wzr, [sp, #20]
LBB0_10:
	ldr	w6, [x23]
	add	x4, sp, #20
	mov	x0, x19
	mov	w1, #160
	mov	w2, #32658
	mov	w3, #0
	mov	w5, #1
	bl	_dw210x_op_rw
	cmp	w0, #1
	b.ne	LBB0_13
	b	LBB0_14
LBB0_11:
	mov	w21, #0
	b	LBB0_31
LBB0_12:
Lloh17:
	adrp	x0, l_.str.1@PAGE
Lloh18:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_err
	ldr	w8, [x24]
	str	wzr, [sp, #20]
	cbz	w8, LBB0_10
LBB0_13:
Lloh19:
	adrp	x0, l_.str.2@PAGE
Lloh20:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_err
	ldr	w8, [x24]
	cbnz	w8, LBB0_15
LBB0_14:
	ldr	w6, [x23]
	add	x4, sp, #20
	mov	x0, x19
	mov	w1, #160
	mov	w2, #58880
	mov	w3, #0
	mov	w5, #1
	bl	_dw210x_op_rw
	mov	w21, #0
	cmp	w0, #1
	b.eq	LBB0_16
LBB0_15:
Lloh21:
	adrp	x0, l_.str.2@PAGE
Lloh22:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_err
	ldr	w8, [x24]
	neg	w21, w8
LBB0_16:
	ldr	w0, [x19]
	bl	_le16_to_cpu
	sub	w8, w0, #128
	cmp	w8, #4
	b.hi	LBB0_22
; %bb.17:
Lloh23:
	adrp	x9, lJTI0_0@PAGE
Lloh24:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_18
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_18:
	ldr	w6, [x23]
	add	x4, sp, #20
	mov	x0, x19
	mov	w1, #191
	mov	w2, #64
	mov	w3, #0
	mov	w5, #0
	bl	_dw210x_op_rw
Lloh25:
	adrp	x22, _DW210X_READ_MSG@GOTPAGE
Lloh26:
	ldr	x22, [x22, _DW210X_READ_MSG@GOTPAGEOFF]
	ldr	w6, [x22]
	add	x4, sp, #24
	mov	x0, x19
	mov	w1, #185
	mov	w2, #0
	mov	w3, #0
	mov	w5, #2
	bl	_dw210x_op_rw
	ldr	w6, [x22]
	add	x4, sp, #24
	mov	x0, x19
	mov	w1, #181
	mov	w2, #0
	mov	w3, #0
	mov	w5, #2
	bl	_dw210x_op_rw
	ldr	w8, [sp, #24]
	cmp	w8, #161
	b.eq	LBB0_20
; %bb.19:
	cmp	w8, #128
	b.ne	LBB0_26
LBB0_20:
Lloh27:
	adrp	x8, _dw2102_properties@GOTPAGE
Lloh28:
	ldr	x8, [x8, _dw2102_properties@GOTPAGEOFF]
Lloh29:
	adrp	x9, _dw2102_i2c_algo@GOTPAGE
Lloh30:
	ldr	x9, [x9, _dw2102_i2c_algo@GOTPAGEOFF]
	str	x9, [x8]
	ldr	x8, [x8, #8]
	ldr	x8, [x8]
Lloh31:
	adrp	x9, _dw2102_tuner_attach@GOTPAGE
Lloh32:
	ldr	x9, [x9, _dw2102_tuner_attach@GOTPAGEOFF]
LBB0_21:
	str	x9, [x8]
	b	LBB0_30
LBB0_22:
	mov	w8, #8449
	cmp	w0, w8
	b.ne	LBB0_30
	b	LBB0_28
LBB0_23:
Lloh33:
	adrp	x8, _RC_MAP_TEVII_NEC@GOTPAGE
Lloh34:
	ldr	x8, [x8, _RC_MAP_TEVII_NEC@GOTPAGEOFF]
Lloh35:
	ldr	w8, [x8]
Lloh36:
	adrp	x9, _dw2104_properties@GOTPAGE
Lloh37:
	ldr	x9, [x9, _dw2104_properties@GOTPAGEOFF]
Lloh38:
	str	w8, [x9]
LBB0_24:
	mov	w8, #1
	str	w8, [sp, #20]
	ldr	w6, [x23]
	add	x4, sp, #20
	mov	x0, x19
	mov	w1, #196
	mov	w2, #0
	mov	w3, #0
	mov	w5, #1
	bl	_dw210x_op_rw
LBB0_25:
	str	wzr, [sp, #20]
	ldr	w6, [x23]
	add	x4, sp, #20
	mov	x0, x19
	mov	w1, #191
	mov	w2, #64
	mov	w3, #0
	mov	w5, #0
	b	LBB0_29
LBB0_26:
Lloh39:
	adrp	x8, lCPI0_0@PAGE
Lloh40:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [sp, #24]
	str	wzr, [sp, #32]
	ldr	w6, [x23]
	add	x4, sp, #24
	mov	x0, x19
	mov	w1, #194
	mov	w2, #0
	mov	w3, #0
	mov	w5, #3
	bl	_dw210x_op_rw
	ldr	w6, [x22]
	add	x4, sp, #24
	mov	x0, x19
	mov	w1, #195
	mov	w2, #209
	mov	w3, #0
	mov	w5, #3
	bl	_dw210x_op_rw
	ldr	w8, [sp, #32]
	cmp	w8, #17
	b.ne	LBB0_28
; %bb.27:
Lloh41:
	adrp	x8, _dw2102_properties@GOTPAGE
Lloh42:
	ldr	x8, [x8, _dw2102_properties@GOTPAGEOFF]
Lloh43:
	adrp	x9, _dw2102_earda_i2c_algo@GOTPAGE
Lloh44:
	ldr	x9, [x9, _dw2102_earda_i2c_algo@GOTPAGEOFF]
	b	LBB0_21
LBB0_28:
Lloh45:
	adrp	x22, _DW210X_READ_MSG@GOTPAGE
Lloh46:
	ldr	x22, [x22, _DW210X_READ_MSG@GOTPAGEOFF]
	ldr	w6, [x22]
	add	x4, sp, #24
	mov	x0, x19
	mov	w1, #188
	mov	w2, #48
	mov	w3, #0
	mov	w5, #2
	bl	_dw210x_op_rw
	ldr	w6, [x22]
	add	x4, sp, #24
	mov	x0, x19
	mov	w1, #186
	mov	w2, #0
	mov	w3, #0
	mov	w5, #7
	bl	_dw210x_op_rw
	ldr	w6, [x22]
	add	x4, sp, #24
	mov	x0, x19
	mov	w1, #186
	mov	w2, #0
	mov	w3, #0
	mov	w5, #7
	bl	_dw210x_op_rw
	ldr	w6, [x22]
	add	x4, sp, #24
	mov	x0, x19
	mov	w1, #185
	mov	w2, #0
	mov	w3, #0
	mov	w5, #2
LBB0_29:
	bl	_dw210x_op_rw
LBB0_30:
	mov	w0, #100
	bl	_msleep
	mov	x0, x20
	bl	_kfree
LBB0_31:
	ldr	w0, [x19]
	bl	_le16_to_cpu
	mov	w8, #8449
	cmp	w0, w8
	b.ne	LBB0_33
; %bb.32:
	ldr	x0, [sp, #8]
	bl	_release_firmware
LBB0_33:
	ldr	x8, [sp, #56]
Lloh47:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh48:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh49:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_35
; %bb.34:
	mov	x0, x21
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_35:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGotStr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdr	Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh43, Lloh44
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpLdrGot	Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_23-LBB0_18)>>2
	.byte	(LBB0_18-LBB0_18)>>2
	.byte	(LBB0_25-LBB0_18)>>2
	.byte	(LBB0_24-LBB0_18)>>2
	.byte	(LBB0_18-LBB0_18)>>2
                                        ; -- End function
	.comm	_DW2101_FIRMWARE,4,2            ; @DW2101_FIRMWARE
	.comm	_err_str,4,2                    ; @err_str
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"start downloading DW210X firmware"

	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_DW210X_WRITE_MSG,4,2           ; @DW210X_WRITE_MSG
l_.str.1:                               ; @.str.1
	.asciz	"error while transferring firmware"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.2:                               ; @.str.2
	.asciz	"could not restart the USB controller CPU."

	.comm	_RC_MAP_TEVII_NEC,4,2           ; @RC_MAP_TEVII_NEC
	.comm	_dw2104_properties,4,2          ; @dw2104_properties
	.comm	_DW210X_READ_MSG,4,2            ; @DW210X_READ_MSG
	.comm	_dw2102_i2c_algo,4,2            ; @dw2102_i2c_algo
	.comm	_dw2102_properties,16,3         ; @dw2102_properties
	.comm	_dw2102_tuner_attach,4,2        ; @dw2102_tuner_attach
	.comm	_dw2102_earda_i2c_algo,4,2      ; @dw2102_earda_i2c_algo
	.no_dead_strip	_dw2102_load_firmware
.subsections_via_symbols
