	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dtv5100_probe
_dtv5100_probe:                         ## @dtv5100_probe
	.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, -48(%rbp)                 ## 8-byte Spill
	callq	_interface_to_usbdev
	movq	%rax, %r12
	movq	_dtv5100_init@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	cmpq	$0, 8(%rax)
	je	LBB0_5
## %bb.1:
	xorl	%ebx, %ebx
	movq	_USB_DIR_OUT@GOTPCREL(%rip), %r14
	movq	_DTV5100_USB_TIMEOUT@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_usb_rcvctrlpipe
	movq	(%r15), %rsi
	movl	(%r14), %ecx
	movq	_USB_TYPE_VENDOR@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	movq	8(%rsi,%rbx), %rdx
	movl	(%rsi,%rbx), %r9d
	movl	4(%rsi,%rbx), %r8d
	movl	(%r13), %r10d
	subq	$8, %rsp
	movq	%r12, %rdi
	movl	%eax, %esi
	pushq	%r10
	pushq	$0
	pushq	$0
	callq	_usb_control_msg
	addq	$32, %rsp
	testl	%eax, %eax
	jne	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r15), %rax
	cmpq	$0, 24(%rax,%rbx)
	leaq	16(%rbx), %rbx
	jne	LBB0_3
LBB0_5:
	movq	_THIS_MODULE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_adapter_nr@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_dtv5100_properties@GOTPCREL(%rip), %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	xorl	%ecx, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dvb_usb_device_init            ## TAILCALL
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_dtv5100_init,8,3               ## @dtv5100_init
	.comm	_USB_TYPE_VENDOR,4,2            ## @USB_TYPE_VENDOR
	.comm	_USB_DIR_OUT,4,2                ## @USB_DIR_OUT
	.comm	_DTV5100_USB_TIMEOUT,4,2        ## @DTV5100_USB_TIMEOUT
	.comm	_dtv5100_properties,4,2         ## @dtv5100_properties
	.comm	_THIS_MODULE,4,2                ## @THIS_MODULE
	.comm	_adapter_nr,4,2                 ## @adapter_nr
	.no_dead_strip	_dtv5100_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dtv5100_probe
_dtv5100_probe:                         ; @dtv5100_probe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
	bl	_interface_to_usbdev
Lloh0:
	adrp	x21, _dtv5100_init@GOTPAGE
Lloh1:
	ldr	x21, [x21, _dtv5100_init@GOTPAGEOFF]
	ldr	x8, [x21]
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_4
; %bb.1:
	mov	x20, x0
	mov	x22, #0
Lloh2:
	adrp	x23, _USB_TYPE_VENDOR@GOTPAGE
Lloh3:
	ldr	x23, [x23, _USB_TYPE_VENDOR@GOTPAGEOFF]
Lloh4:
	adrp	x24, _USB_DIR_OUT@GOTPAGE
Lloh5:
	ldr	x24, [x24, _USB_DIR_OUT@GOTPAGEOFF]
Lloh6:
	adrp	x25, _DTV5100_USB_TIMEOUT@GOTPAGE
Lloh7:
	ldr	x25, [x25, _DTV5100_USB_TIMEOUT@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	w1, #0
	bl	_usb_rcvctrlpipe
	mov	x1, x0
	ldr	x8, [x21]
	add	x8, x8, x22
	ldr	x2, [x8, #8]
	ldr	w9, [x23]
	ldr	w10, [x24]
	orr	w3, w10, w9
	ldp	w5, w4, [x8]
	ldr	w8, [x25]
	str	w8, [sp]
	mov	x0, x20
	mov	x6, #0
	mov	w7, #0
	bl	_usb_control_msg
	cbnz	w0, LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x21]
	add	x8, x8, x22
	ldr	x8, [x8, #24]
	add	x22, x22, #16
	cbnz	x8, LBB0_2
LBB0_4:
Lloh8:
	adrp	x8, _THIS_MODULE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _THIS_MODULE@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
Lloh11:
	adrp	x8, _adapter_nr@GOTPAGE
Lloh12:
	ldr	x8, [x8, _adapter_nr@GOTPAGEOFF]
Lloh13:
	adrp	x1, _dtv5100_properties@GOTPAGE
Lloh14:
	ldr	x1, [x1, _dtv5100_properties@GOTPAGEOFF]
Lloh15:
	ldr	w4, [x8]
	mov	x0, x19
	mov	x3, #0
	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
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	b	_dvb_usb_device_init
LBB0_5:
	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
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh15
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_dtv5100_init,8,3               ; @dtv5100_init
	.comm	_USB_TYPE_VENDOR,4,2            ; @USB_TYPE_VENDOR
	.comm	_USB_DIR_OUT,4,2                ; @USB_DIR_OUT
	.comm	_DTV5100_USB_TIMEOUT,4,2        ; @DTV5100_USB_TIMEOUT
	.comm	_dtv5100_properties,4,2         ; @dtv5100_properties
	.comm	_THIS_MODULE,4,2                ; @THIS_MODULE
	.comm	_adapter_nr,4,2                 ; @adapter_nr
	.no_dead_strip	_dtv5100_probe
.subsections_via_symbols
