	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lme2510_identify_state
_lme2510_identify_state:                ## @lme2510_identify_state
	.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, %rbx
	movq	16(%rdi), %r15
	movl	8(%rdi), %edi
	callq	_usb_reset_configuration
	movl	8(%rbx), %edi
	movq	(%rbx), %rax
	movl	(%rax), %esi
	movl	$1, %edx
	callq	_usb_set_interface
	movq	_dvb_usb_lme2510_firmware@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r15)
	movq	%rbx, %rdi
	callq	_lme2510_return_status
	cmpl	$71, %eax
	je	LBB0_4
## %bb.1:
	cmpl	$68, %eax
	jne	LBB0_3
## %bb.2:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_lme_firmware_switch
	movq	%rax, (%r14)
	movq	_COLD@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_4:
	movq	_WARM@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %eax
	jmp	LBB0_6
LBB0_3:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_dvb_usb_lme2510_firmware,4,2   ## @dvb_usb_lme2510_firmware
	.comm	_COLD,4,2                       ## @COLD
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_WARM,4,2                       ## @WARM
	.no_dead_strip	_lme2510_identify_state
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lme2510_identify_state
_lme2510_identify_state:                ; @lme2510_identify_state
	.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
	ldr	x21, [x0, #16]
	ldr	w0, [x0, #8]
	bl	_usb_reset_configuration
	ldr	w0, [x20, #8]
	ldr	x8, [x20]
	ldr	w1, [x8]
	mov	w2, #1
	bl	_usb_set_interface
Lloh0:
	adrp	x8, _dvb_usb_lme2510_firmware@GOTPAGE
Lloh1:
	ldr	x8, [x8, _dvb_usb_lme2510_firmware@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x21]
	mov	x0, x20
	bl	_lme2510_return_status
	cmp	w0, #71
	b.eq	LBB0_3
; %bb.1:
	cmp	w0, #68
	b.ne	LBB0_5
; %bb.2:
	mov	x0, x20
	mov	w1, #0
	bl	_lme_firmware_switch
	str	x0, [x19]
Lloh3:
	adrp	x8, _COLD@GOTPAGE
Lloh4:
	ldr	x8, [x8, _COLD@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
Lloh5:
	adrp	x8, _WARM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _WARM@GOTPAGEOFF]
LBB0_4:
	ldr	w0, [x8]
	b	LBB0_6
LBB0_5:
Lloh7:
	adrp	x8, _EINVAL@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_6:
	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 AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_dvb_usb_lme2510_firmware,4,2   ; @dvb_usb_lme2510_firmware
	.comm	_COLD,4,2                       ; @COLD
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_WARM,4,2                       ; @WARM
	.no_dead_strip	_lme2510_identify_state
.subsections_via_symbols
