	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function si470x_start_usb
_si470x_start_usb:                      ## @si470x_start_usb
	.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
	movq	%rdi, %rbx
	movl	24(%rdi), %r14d
	movl	44(%rdi), %r15d
	movq	32(%rdi), %rax
	movl	8(%rax), %esi
	movl	%r15d, %edi
	callq	_usb_rcvintpipe
	movl	%eax, %r12d
	movl	40(%rbx), %r13d
	movq	32(%rbx), %rax
	movl	4(%rax), %edi
	callq	_le16_to_cpu
	movq	_si470x_int_in_callback@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r9d
	movq	32(%rbx), %rcx
	movl	(%rcx), %r10d
	movl	%r14d, %edi
	movl	%r15d, %esi
	movl	%r12d, %edx
	movl	%r13d, %ecx
	movl	%eax, %r8d
	pushq	%r10
	pushq	%rbx
	callq	_usb_fill_int_urb
	addq	$16, %rsp
	movl	$1, (%rbx)
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_mb
	movl	24(%rbx), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_usb_submit_urb
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	16(%rbx), %rdi
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edx
	callq	_dev_info
	movl	$0, (%rbx)
	jmp	LBB0_3
LBB0_1:
	movl	(%rbx), %r14d
LBB0_3:
	movl	%r14d, 4(%rbx)
	movq	%rbx, %rdi
	callq	_si470x_start
	movl	%eax, %r14d
	testl	%eax, %eax
	js	LBB0_5
## %bb.4:
	addq	$8, %rbx
	movq	%rbx, %rdi
	callq	_v4l2_ctrl_handler_setup
LBB0_5:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_si470x_int_in_callback,4,2     ## @si470x_int_in_callback
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"submitting int urb failed (%d)\n"

	.no_dead_strip	_si470x_start_usb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function si470x_start_usb
_si470x_start_usb:                      ; @si470x_start_usb
	.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	x19, x0
	ldr	w20, [x0, #24]
	ldr	w21, [x0, #44]
	ldr	x8, [x0, #32]
	ldr	w1, [x8, #8]
	mov	x0, x21
	bl	_usb_rcvintpipe
	mov	x22, x0
	ldr	w23, [x19, #40]
	ldr	x8, [x19, #32]
	ldr	w0, [x8, #4]
	bl	_le16_to_cpu
	mov	x4, x0
Lloh0:
	adrp	x8, _si470x_int_in_callback@GOTPAGE
Lloh1:
	ldr	x8, [x8, _si470x_int_in_callback@GOTPAGEOFF]
Lloh2:
	ldr	w5, [x8]
	ldr	x8, [x19, #32]
	ldr	w7, [x8]
	mov	x0, x20
	mov	x1, x21
	mov	x2, x22
	mov	x3, x23
	mov	x6, x19
	bl	_usb_fill_int_urb
	mov	w8, #1
	str	w8, [x19]
	bl	_mb
	ldr	w0, [x19, #24]
Lloh3:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_usb_submit_urb
	cbz	w0, LBB0_2
; %bb.1:
	mov	x2, x0
	ldr	x0, [x19, #16]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_info
	mov	w8, #0
	str	wzr, [x19]
	b	LBB0_3
LBB0_2:
	ldr	w8, [x19]
LBB0_3:
	str	w8, [x19, #4]
	mov	x0, x19
	bl	_si470x_start
	mov	x20, x0
	tbnz	w0, #31, LBB0_5
; %bb.4:
	add	x0, x19, #8
	bl	_v4l2_ctrl_handler_setup
LBB0_5:
	mov	x0, x20
	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 AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_si470x_int_in_callback,4,2     ; @si470x_int_in_callback
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"submitting int urb failed (%d)\n"

	.no_dead_strip	_si470x_start_usb
.subsections_via_symbols
