	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lme2510_usb_talk
_lme2510_usb_talk:                      ## @lme2510_usb_talk
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %r14d
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movl	%edx, %ebx
	movq	%rsi, %r13
	movq	%rdi, %r12
	movq	8(%rdi), %r15
	movl	%edx, %edi
	movl	%r8d, %esi
	callq	_max
	cmpl	$9, %eax
	jb	LBB0_3
## %bb.1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_3:
	movq	%r12, %rdi
	callq	_mutex_lock_interruptible
	testl	%eax, %eax
	js	LBB0_4
## %bb.5:
	movq	(%r15), %rdi
	movq	%r13, %rsi
	movl	%ebx, %edx
	callq	_memcpy
	movq	(%r15), %rcx
	movq	%r12, %rdi
	movq	%rcx, %rsi
	movl	%ebx, %edx
	movl	%r14d, %r8d
	callq	_dvb_usbv2_generic_rw_locked
	movl	%eax, %ebx
	testl	%r14d, %r14d
	je	LBB0_7
## %bb.6:
	movq	(%r15), %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%r14d, %edx
	callq	_memcpy
LBB0_7:
	movq	%r12, %rdi
	callq	_mutex_unlock
	jmp	LBB0_8
LBB0_4:
	movq	_EAGAIN@GOTPCREL(%rip), %rax
LBB0_2:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_8:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_EAGAIN,4,2                     ## @EAGAIN
	.no_dead_strip	_lme2510_usb_talk
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lme2510_usb_talk
_lme2510_usb_talk:                      ; @lme2510_usb_talk
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x4
	mov	x21, x3
	mov	x22, x2
	mov	x23, x1
	mov	x19, x0
	ldr	x24, [x0, #8]
	mov	x0, x2
	mov	x1, x4
	bl	_max
	cmp	w0, #9
	b.lo	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_7
LBB0_2:
	mov	x0, x19
	bl	_mutex_lock_interruptible
	tbnz	w0, #31, LBB0_6
; %bb.3:
	ldr	x0, [x24]
	mov	x1, x23
	mov	x2, x22
	bl	_memcpy
	ldr	x1, [x24]
	mov	x0, x19
	mov	x2, x22
	mov	x3, x1
	mov	x4, x20
	bl	_dvb_usbv2_generic_rw_locked
	mov	x22, x0
	cbz	w20, LBB0_5
; %bb.4:
	ldr	x1, [x24]
	mov	x0, x21
	mov	x2, x20
	bl	_memcpy
LBB0_5:
	mov	x0, x19
	bl	_mutex_unlock
	b	LBB0_8
LBB0_6:
Lloh2:
	adrp	x8, _EAGAIN@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EAGAIN@GOTPAGEOFF]
LBB0_7:
	ldr	w8, [x8]
	neg	w22, w8
LBB0_8:
	mov	x0, x22
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_EAGAIN,4,2                     ; @EAGAIN
	.no_dead_strip	_lme2510_usb_talk
.subsections_via_symbols
