	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dvb_usb_find_device
_dvb_usb_find_device:                   ## @dvb_usb_find_device
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	$0, -56(%rbp)
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movl	$-1, (%rdx)
	cmpl	$0, (%rsi)
	jle	LBB0_23
## %bb.1:
	movq	%rsi, %r15
	movq	%rdi, %r13
	xorl	%eax, %eax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
                                        ##     Child Loop BB0_13 Depth 2
	movq	_DVB_USB_ID_MAX_NUM@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_9
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%r12d, %r12d
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_5 Depth=2
	incq	%r12
	movq	_DVB_USB_ID_MAX_NUM@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	cmpq	%rax, %r12
	movq	-80(%rbp), %r13                 ## 8-byte Reload
	jge	LBB0_9
LBB0_5:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	16(%r15), %rax
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	shlq	$4, %rbx
	movq	8(%rax,%rbx), %rax
	movq	(%rax,%r12,8), %rax
	testq	%rax, %rax
	je	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=2
	movq	(%rax), %rsi
	movq	8(%rax), %rdx
	leaq	L_.str(%rip), %rdi
	callq	_deb_info
	movq	16(%r15), %rax
	movq	8(%rax,%rbx), %rax
	movq	(%rax,%r12,8), %rax
	movq	%r13, %rcx
	movq	(%rax), %r13
	movl	4(%rcx), %edi
	callq	_le16_to_cpu
	cmpq	%rax, %r13
	jne	LBB0_4
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=2
	movq	16(%r15), %rax
	movq	8(%rax,%rbx), %rax
	movq	(%rax,%r12,8), %rax
	movq	8(%rax), %r13
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	callq	_le16_to_cpu
	cmpq	%rax, %r13
	jne	LBB0_4
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	$1, (%rax)
	addq	16(%r15), %rbx
	movq	%rbx, -56(%rbp)
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movq	%rbx, %r14
	movq	-80(%rbp), %r13                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	testq	%r14, %r14
	jne	LBB0_19
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_DVB_USB_ID_MAX_NUM@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_17
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	xorl	%ebx, %ebx
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_13 Depth=2
	incq	%rbx
	movq	_DVB_USB_ID_MAX_NUM@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	cmpq	%rax, %rbx
	jge	LBB0_17
LBB0_13:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	16(%r15), %rax
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	shlq	$4, %r14
	movq	(%rax,%r14), %rax
	movq	(%rax,%rbx,8), %rax
	testq	%rax, %rax
	je	LBB0_17
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=2
	movq	(%rax), %rsi
	movq	8(%rax), %rdx
	leaq	L_.str.1(%rip), %rdi
	callq	_deb_info
	movq	16(%r15), %rax
	movq	(%rax,%r14), %rax
	movq	(%rax,%rbx,8), %rax
	movq	(%rax), %r12
	movl	4(%r13), %edi
	callq	_le16_to_cpu
	cmpq	%rax, %r12
	jne	LBB0_12
## %bb.15:                              ##   in Loop: Header=BB0_13 Depth=2
	movq	16(%r15), %rax
	movq	(%rax,%r14), %rax
	movq	(%rax,%rbx,8), %rax
	movq	8(%rax), %r12
	movl	(%r13), %edi
	callq	_le16_to_cpu
	cmpq	%rax, %r12
	jne	LBB0_12
## %bb.16:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	$0, (%rax)
	addq	16(%r15), %r14
	movq	%r14, -56(%rbp)
	movq	%r14, -72(%rbp)                 ## 8-byte Spill
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_2 Depth=1
	xorl	%r14d, %r14d
LBB0_18:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	incq	%rdx
	movslq	(%r15), %rax
	movq	%rdx, %rcx
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	cmpq	%rax, %rdx
	jl	LBB0_2
LBB0_19:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_23
## %bb.20:
	movq	8(%r15), %rbx
	testq	%rbx, %rbx
	je	LBB0_24
## %bb.21:
	leaq	-56(%rbp), %rdx
	movq	%r13, %rdi
	movq	%r15, %rsi
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	callq	*%rbx
	movq	-56(%rbp), %rax
	jmp	LBB0_24
LBB0_23:
	xorl	%eax, %eax
LBB0_24:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DVB_USB_ID_MAX_NUM,4,2         ## @DVB_USB_ID_MAX_NUM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"check for cold %x %x\n"

L_.str.1:                               ## @.str.1
	.asciz	"check for warm %x %x\n"

	.no_dead_strip	_dvb_usb_find_device
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dvb_usb_find_device
_dvb_usb_find_device:                   ; @dvb_usb_find_device
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	stp	x2, xzr, [sp]                   ; 8-byte Folded Spill
	mov	w8, #-1
	str	w8, [x2]
	ldr	w8, [x1]
	cmp	w8, #1
	b.lt	LBB0_22
; %bb.1:
	mov	x20, x1
	mov	x21, x0
	mov	x22, #0
	mov	x28, #0
	mov	x25, #0
Lloh0:
	adrp	x26, _DVB_USB_ID_MAX_NUM@GOTPAGE
Lloh1:
	ldr	x26, [x26, _DVB_USB_ID_MAX_NUM@GOTPAGEOFF]
Lloh2:
	adrp	x23, l_.str@PAGE
Lloh3:
	add	x23, x23, l_.str@PAGEOFF
Lloh4:
	adrp	x24, l_.str.1@PAGE
Lloh5:
	add	x24, x24, l_.str.1@PAGEOFF
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
                                        ;     Child Loop BB0_13 Depth 2
	ldr	w8, [x26]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x27, #0
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=2
	add	x27, x27, #1
	ldrsw	x8, [x26]
	cmp	x27, x8
	b.ge	LBB0_9
LBB0_5:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x20, #16]
	add	x8, x8, x25, lsl #4
	ldr	x8, [x8, #8]
	ldr	x8, [x8, x27, lsl #3]
	cbz	x8, LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=2
	ldp	x1, x2, [x8]
	mov	x0, x23
	bl	_deb_info
	ldr	x8, [x20, #16]
	add	x8, x8, x25, lsl #4
	ldr	x8, [x8, #8]
	ldr	x8, [x8, x27, lsl #3]
	ldr	x19, [x8]
	ldr	w0, [x21, #4]
	bl	_le16_to_cpu
	cmp	x19, x0
	b.ne	LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=2
	ldr	x8, [x20, #16]
	add	x8, x8, x25, lsl #4
	ldr	x8, [x8, #8]
	ldr	x8, [x8, x27, lsl #3]
	ldr	x19, [x8, #8]
	ldr	w0, [x21]
	bl	_le16_to_cpu
	cmp	x19, x0
	b.ne	LBB0_4
; %bb.8:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [sp]                        ; 8-byte Folded Reload
	mov	w9, #1
	str	w9, [x8]
	ldr	x8, [x20, #16]
	add	x22, x8, x25, lsl #4
	str	x22, [sp, #8]
	mov	x28, x22
LBB0_9:                                 ;   in Loop: Header=BB0_2 Depth=1
	cbnz	x28, LBB0_19
; %bb.10:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x26]
	cmp	w8, #1
	b.lt	LBB0_17
; %bb.11:                               ;   in Loop: Header=BB0_2 Depth=1
	mov	x27, #0
	b	LBB0_13
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=2
	add	x27, x27, #1
	ldrsw	x8, [x26]
	cmp	x27, x8
	b.ge	LBB0_17
LBB0_13:                                ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x20, #16]
	lsl	x28, x25, #4
	ldr	x8, [x8, x28]
	ldr	x8, [x8, x27, lsl #3]
	cbz	x8, LBB0_17
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=2
	ldp	x1, x2, [x8]
	mov	x0, x24
	bl	_deb_info
	ldr	x8, [x20, #16]
	ldr	x8, [x8, x28]
	ldr	x8, [x8, x27, lsl #3]
	ldr	x19, [x8]
	ldr	w0, [x21, #4]
	bl	_le16_to_cpu
	cmp	x19, x0
	b.ne	LBB0_12
; %bb.15:                               ;   in Loop: Header=BB0_13 Depth=2
	ldr	x8, [x20, #16]
	ldr	x8, [x8, x28]
	ldr	x8, [x8, x27, lsl #3]
	ldr	x19, [x8, #8]
	ldr	w0, [x21]
	bl	_le16_to_cpu
	cmp	x19, x0
	b.ne	LBB0_12
; %bb.16:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [sp]                        ; 8-byte Folded Reload
	str	wzr, [x8]
	ldr	x8, [x20, #16]
	add	x22, x8, x25, lsl #4
	str	x22, [sp, #8]
	mov	x28, x22
	b	LBB0_18
LBB0_17:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x28, #0
LBB0_18:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x25, x25, #1
	ldrsw	x8, [x20]
	cmp	x25, x8
	b.lt	LBB0_2
LBB0_19:
	cbz	x22, LBB0_23
; %bb.20:
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_23
; %bb.21:
	add	x2, sp, #8
	mov	x0, x21
	mov	x1, x20
	ldr	x3, [sp]                        ; 8-byte Folded Reload
	blr	x8
	ldr	x22, [sp, #8]
	b	LBB0_23
LBB0_22:
	mov	x22, #0
LBB0_23:
	mov	x0, x22
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_DVB_USB_ID_MAX_NUM,4,2         ; @DVB_USB_ID_MAX_NUM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"check for cold %x %x\n"

l_.str.1:                               ; @.str.1
	.asciz	"check for warm %x %x\n"

	.no_dead_strip	_dvb_usb_find_device
.subsections_via_symbols
