	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_libusb_get_config_descriptor   ## -- Begin function libusb_get_config_descriptor
	.p2align	4, 0x90
_libusb_get_config_descriptor:          ## @libusb_get_config_descriptor
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	movq	%rdx, %rbx
	testq	%rdx, %rdx
	je	LBB0_2
## %bb.3:
	movq	$0, (%rbx)
	movq	(%rdi), %rdi
	callq	_libusb20_dev_alloc_config
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movslq	(%rax), %r15
	movl	%r15d, %r14d
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	16(%rax), %rdi
	callq	_N_ALIGN
	movq	%r15, %rcx
	movq	%rax, %r15
	movl	%r14d, %eax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	testq	%rcx, %rcx
	movq	%rbx, -120(%rbp)                ## 8-byte Spill
	movl	%r14d, -108(%rbp)               ## 4-byte Spill
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	jle	LBB0_6
## %bb.7:
	xorl	%ecx, %ecx
	xorl	%ebx, %ebx
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	%r12, %r15
LBB0_18:                                ##   in Loop: Header=BB0_8 Depth=1
	movl	-104(%rbp), %r14d               ## 4-byte Reload
	addl	-64(%rbp), %r14d                ## 4-byte Folded Reload
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	incq	%rcx
	movl	%eax, %ebx
	cmpq	-88(%rbp), %rcx                 ## 8-byte Folded Reload
	je	LBB0_19
LBB0_8:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_10 Depth 2
                                        ##     Child Loop BB0_14 Depth 2
                                        ##       Child Loop BB0_16 Depth 3
	movl	%r14d, -104(%rbp)               ## 4-byte Spill
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %r13
	movq	%rcx, -96(%rbp)                 ## 8-byte Spill
	leaq	(%rcx,%rcx,4), %r14
	shlq	$4, %r14
	movq	16(%r13,%r14), %rdi
	callq	_N_ALIGN
	movq	%rax, %r12
	addq	%r15, %r12
	movl	(%r13,%r14), %r15d
	testl	%r15d, %r15d
	movl	%r15d, -56(%rbp)                ## 4-byte Spill
	movl	%ebx, -72(%rbp)                 ## 4-byte Spill
	je	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movq	8(%r13,%r14), %rbx
	.p2align	4, 0x90
LBB0_10:                                ##   Parent Loop BB0_8 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%rbx), %rdi
	callq	_N_ALIGN
	addq	%rax, %r12
	addq	$48, %rbx
	decl	%r15d
	jne	LBB0_10
LBB0_11:                                ##   in Loop: Header=BB0_8 Depth=1
	movl	-56(%rbp), %eax                 ## 4-byte Reload
	addl	-72(%rbp), %eax                 ## 4-byte Folded Reload
	movl	4(%r13,%r14), %ecx
	testl	%ecx, %ecx
	movl	%ecx, -64(%rbp)                 ## 4-byte Spill
	je	LBB0_12
## %bb.13:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	72(%r13,%r14), %r14
	movl	%ecx, %ebx
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_14 Depth=2
	movl	-56(%rbp), %eax                 ## 4-byte Reload
	addl	%r12d, %eax
	addq	$80, %r14
	movq	%r15, %r12
	movl	-72(%rbp), %ebx                 ## 4-byte Reload
	testl	%ebx, %ebx
	je	LBB0_18
LBB0_14:                                ##   Parent Loop BB0_8 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_16 Depth 3
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	decl	%ebx
	movq	16(%r14), %rdi
	callq	_N_ALIGN
	movq	%rax, %r15
	addq	%r12, %r15
	movl	(%r14), %r12d
	testl	%r12d, %r12d
	movl	%ebx, -72(%rbp)                 ## 4-byte Spill
	je	LBB0_17
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=2
	movq	8(%r14), %r13
	movl	%r12d, %ebx
	.p2align	4, 0x90
LBB0_16:                                ##   Parent Loop BB0_8 Depth=1
                                        ##     Parent Loop BB0_14 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movq	(%r13), %rdi
	callq	_N_ALIGN
	addq	%rax, %r15
	addq	$48, %r13
	decl	%ebx
	jne	LBB0_16
	jmp	LBB0_17
LBB0_2:
	movq	_LIBUSB_ERROR_INVALID_PARAM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_50
LBB0_4:
	movq	_LIBUSB_ERROR_NOT_FOUND@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_50
LBB0_6:
	xorl	%eax, %eax
LBB0_19:
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	shlq	$4, %rbx
	movslq	%r14d, %r14
	shlq	$6, %r14
	cltq
	leaq	(%rax,%rax,2), %r12
	shlq	$4, %r12
	addq	%rbx, %r15
	addq	%r12, %r15
	leaq	(%r14,%r15), %rdi
	addq	$4, %rdi
	callq	_N_ALIGN
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_20
## %bb.21:
	movq	%rax, %r15
	movq	%rax, %rdi
	xorl	%esi, %esi
	movq	%r13, %rdx
	callq	_memset
	leaq	56(%r15), %rax
	movq	%rax, 16(%r15)
	addq	%r15, %rbx
	addq	$56, %rbx
	addq	%rbx, %r14
	addq	%r14, %r12
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movups	48(%rax), %xmm0
	movups	%xmm0, 40(%r15)
	movups	32(%rax), %xmm0
	movups	%xmm0, 24(%r15)
	movq	16(%rax), %rdx
	testq	%rdx, %rdx
	movq	%r15, %r13
	movq	%r12, %r15
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	je	LBB0_23
## %bb.22:
	movq	%rdx, (%r13)
	movq	%r15, 8(%r13)
	movl	24(%rax), %esi
	movq	%r15, %rdi
	callq	_memcpy
	movq	(%r13), %rdi
	callq	_N_ALIGN
	leaq	(%r15,%rax,4), %r15
LBB0_23:
	cmpl	$0, -108(%rbp)                  ## 4-byte Folded Reload
	jle	LBB0_49
## %bb.24:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	16(%rax), %r8
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %r9
	xorl	%r11d, %r11d
	jmp	LBB0_25
	.p2align	4, 0x90
LBB0_34:                                ##   in Loop: Header=BB0_25 Depth=1
	incq	%r11
	movq	%rcx, %rbx
	cmpq	-88(%rbp), %r11                 ## 8-byte Folded Reload
	je	LBB0_35
LBB0_25:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_29 Depth 2
                                        ##     Child Loop BB0_33 Depth 2
	movq	%r14, %rcx
	movq	%r11, %rax
	shlq	$4, %rax
	movq	%rbx, 8(%r8,%rax)
	movq	%r14, 16(%rbx)
	leaq	(%r11,%r11,4), %rax
	shlq	$4, %rax
	movslq	(%r9,%rax), %rsi
	leaq	(%rsi,%rsi,2), %r14
	shlq	$4, %r14
	addq	%rcx, %r14
	movl	4(%r9,%rax), %edi
	leaq	64(%rbx), %rcx
	testl	%edi, %edi
	jle	LBB0_34
## %bb.26:                              ##   in Loop: Header=BB0_25 Depth=1
	movq	72(%r9,%rax), %r12
	leaq	-1(%rdi), %rax
	movl	%edi, %r10d
	andl	$3, %r10d
	cmpq	$3, %rax
	jae	LBB0_28
## %bb.27:                              ##   in Loop: Header=BB0_25 Depth=1
	xorl	%eax, %eax
	testq	%r10, %r10
	jne	LBB0_32
	jmp	LBB0_34
	.p2align	4, 0x90
LBB0_28:                                ##   in Loop: Header=BB0_25 Depth=1
	andl	$-4, %edi
	movq	%r12, %rcx
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_29:                                ##   Parent Loop BB0_25 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r14, 80(%rbx)
	movslq	(%rcx), %rdx
	leaq	(%rdx,%rdx,2), %rdx
	shlq	$4, %rdx
	addq	%r14, %rdx
	movq	%rdx, 144(%rbx)
	movslq	80(%rcx), %rsi
	leaq	(%rsi,%rsi,2), %rsi
	shlq	$4, %rsi
	addq	%rdx, %rsi
	movq	%rsi, 208(%rbx)
	movslq	160(%rcx), %rdx
	leaq	(%rdx,%rdx,2), %rdx
	shlq	$4, %rdx
	addq	%rsi, %rdx
	movq	%rdx, 272(%rbx)
	movslq	240(%rcx), %rsi
	leaq	(%rsi,%rsi,2), %r14
	shlq	$4, %r14
	addq	%rdx, %r14
	addq	$4, %rax
	addq	$320, %rcx                      ## imm = 0x140
	addq	$256, %rbx                      ## imm = 0x100
	cmpq	%rax, %rdi
	jne	LBB0_29
## %bb.30:                              ##   in Loop: Header=BB0_25 Depth=1
	leaq	64(%rbx), %rcx
	testq	%r10, %r10
	je	LBB0_34
LBB0_32:                                ##   in Loop: Header=BB0_25 Depth=1
	leaq	(%rax,%rax,4), %rax
	shlq	$4, %rax
	addq	%rax, %r12
	shlq	$4, %r10
	leaq	(%r10,%r10,4), %rax
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_33:                                ##   Parent Loop BB0_25 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r14, 80(%rbx)
	movslq	(%r12,%rdi), %rdx
	leaq	(%rdx,%rdx,2), %rdx
	shlq	$4, %rdx
	addq	%rdx, %r14
	movq	%rcx, %rbx
	addq	$64, %rcx
	addq	$80, %rdi
	cmpq	%rdi, %rax
	jne	LBB0_33
	jmp	LBB0_34
LBB0_20:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_free
	movq	_LIBUSB_ERROR_NO_MEM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_50
LBB0_35:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	16(%rax), %r9
	xorl	%edx, %edx
	jmp	LBB0_36
	.p2align	4, 0x90
LBB0_48:                                ##   in Loop: Header=BB0_36 Depth=1
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	incq	%rdx
	cmpq	-88(%rbp), %rdx                 ## 8-byte Folded Reload
	je	LBB0_49
LBB0_36:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_38 Depth 2
                                        ##       Child Loop BB0_44 Depth 3
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	8(%rcx), %rsi
	leaq	(%rdx,%rdx,4), %rdi
	shlq	$4, %rdi
	movl	4(%rsi,%rdi), %ecx
	leal	1(%rcx), %r8d
	movq	%rdx, %rax
	shlq	$4, %rax
	movl	%r8d, (%r9,%rax)
	testl	%ecx, %ecx
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
	js	LBB0_48
## %bb.37:                              ##   in Loop: Header=BB0_36 Depth=1
	addq	%rdi, %rsi
	xorl	%ebx, %ebx
	movq	%rdi, -104(%rbp)                ## 8-byte Spill
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	jmp	LBB0_38
	.p2align	4, 0x90
LBB0_47:                                ##   in Loop: Header=BB0_38 Depth=2
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	incq	%rbx
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	16(%rax), %r9
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movslq	(%r9,%rax), %rcx
	cmpq	%rcx, %rbx
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	jge	LBB0_48
LBB0_38:                                ##   Parent Loop BB0_36 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_44 Depth 3
	testq	%rbx, %rbx
	je	LBB0_40
## %bb.39:                              ##   in Loop: Header=BB0_38 Depth=2
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	8(%rcx), %rcx
	movq	72(%rcx,%rdi), %rcx
	leaq	(%rbx,%rbx,4), %rdx
	shlq	$4, %rdx
	leaq	(%rdx,%rcx), %rsi
	addq	$-80, %rsi
LBB0_40:                                ##   in Loop: Header=BB0_38 Depth=2
	movq	8(%r9,%rax), %r14
	movl	64(%rsi), %eax
	movq	%rbx, %r13
	shlq	$6, %r13
	movl	%eax, 56(%r14,%r13)
	movups	48(%rsi), %xmm0
	movups	%xmm0, 40(%r14,%r13)
	movups	32(%rsi), %xmm0
	movups	%xmm0, 24(%r14,%r13)
	movq	16(%rsi), %rdx
	testq	%rdx, %rdx
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	je	LBB0_42
## %bb.41:                              ##   in Loop: Header=BB0_38 Depth=2
	movq	%rdx, (%r14,%r13)
	movq	%r15, 8(%r14,%r13)
	movl	24(%rsi), %esi
	movq	%r15, %rdi
	callq	_memcpy
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	16(%rax), %rdi
	callq	_N_ALIGN
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	leaq	(%r15,%rax,4), %r15
LBB0_42:                                ##   in Loop: Header=BB0_38 Depth=2
	movl	(%rsi), %eax
	testl	%eax, %eax
	jle	LBB0_47
## %bb.43:                              ##   in Loop: Header=BB0_38 Depth=2
	leaq	(%r14,%r13), %rbx
	addq	$16, %rbx
	xorl	%r14d, %r14d
	xorl	%r12d, %r12d
	jmp	LBB0_44
	.p2align	4, 0x90
LBB0_46:                                ##   in Loop: Header=BB0_44 Depth=3
	incq	%r12
	movslq	%eax, %rcx
	addq	$48, %r14
	cmpq	%rcx, %r12
	jge	LBB0_47
LBB0_44:                                ##   Parent Loop BB0_36 Depth=1
                                        ##     Parent Loop BB0_38 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movq	8(%rsi), %r13
	movq	(%rbx), %rcx
	movups	32(%r13,%r14), %xmm0
	movups	%xmm0, 32(%rcx,%r14)
	movups	16(%r13,%r14), %xmm0
	movups	%xmm0, 16(%rcx,%r14)
	movq	(%r13,%r14), %rdx
	testq	%rdx, %rdx
	je	LBB0_46
## %bb.45:                              ##   in Loop: Header=BB0_44 Depth=3
	movq	%rdx, (%rcx,%r14)
	movq	%r15, 8(%rcx,%r14)
	movl	8(%r13,%r14), %esi
	movq	%r15, %rdi
	callq	_memcpy
	movq	(%r13,%r14), %rdi
	callq	_N_ALIGN
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	leaq	(%r15,%rax,4), %r15
	movl	(%rsi), %eax
	jmp	LBB0_46
LBB0_49:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_free
	movq	-120(%rbp), %rax                ## 8-byte Reload
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, (%rax)
	xorl	%eax, %eax
LBB0_50:
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LIBUSB_ERROR_INVALID_PARAM,4,2 ## @LIBUSB_ERROR_INVALID_PARAM
	.comm	_LIBUSB_ERROR_NOT_FOUND,4,2     ## @LIBUSB_ERROR_NOT_FOUND
	.comm	_LIBUSB_ERROR_NO_MEM,4,2        ## @LIBUSB_ERROR_NO_MEM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_libusb_get_config_descriptor   ; -- Begin function libusb_get_config_descriptor
	.p2align	2
_libusb_get_config_descriptor:          ; @libusb_get_config_descriptor
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	cbz	x0, LBB0_15
; %bb.1:
	mov	x19, x2
	cbz	x2, LBB0_15
; %bb.2:
	str	xzr, [x19]
	ldr	x0, [x0]
	bl	_libusb20_dev_alloc_config
	cbz	x0, LBB0_16
; %bb.3:
	mov	x23, x0
	ldr	w27, [x0]
	mov	x8, x27
	sxtw	x20, w8
	ldr	x0, [x0, #16]
	bl	_N_ALIGN
	mov	x21, x0
	cmp	w27, #1
	stp	x27, x23, [sp, #24]             ; 16-byte Folded Spill
	stp	x19, x20, [sp, #8]              ; 16-byte Folded Spill
	b.lt	LBB0_17
; %bb.4:
	mov	x22, #0
	mov	w25, #0
	mov	x26, x27
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	w26, w28, w26
	add	x22, x22, #1
	ldp	x27, x23, [sp, #24]             ; 16-byte Folded Reload
	cmp	x22, x27
	b.eq	LBB0_18
LBB0_6:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
                                        ;     Child Loop BB0_12 Depth 2
                                        ;       Child Loop BB0_14 Depth 3
	ldr	x19, [x23, #8]
	mov	w27, #80
	madd	x20, x22, x27, x19
	ldr	x0, [x20, #16]
	bl	_N_ALIGN
	add	x21, x0, x21
	ldr	w20, [x20]
	cbz	w20, LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	madd	x8, x22, x27, x19
	ldr	x23, [x8, #8]
	mov	x24, x20
LBB0_8:                                 ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	sub	w24, w24, #1
	ldr	x0, [x23], #48
	bl	_N_ALIGN
	add	x21, x0, x21
	cbnz	w24, LBB0_8
LBB0_9:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	w25, w20, w25
	madd	x8, x22, x27, x19
	ldr	w28, [x8, #4]
	cbz	w28, LBB0_5
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
	madd	x8, x22, x27, x19
	ldr	x24, [x8, #72]
	mov	x19, x28
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=2
	add	w25, w27, w25
	add	x24, x24, #80
	cbz	w19, LBB0_5
LBB0_12:                                ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_14 Depth 3
	sub	w19, w19, #1
	ldr	x0, [x24, #16]
	bl	_N_ALIGN
	add	x21, x0, x21
	ldr	w27, [x24]
	cbz	w27, LBB0_11
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=2
	ldr	x23, [x24, #8]
	mov	x20, x27
LBB0_14:                                ;   Parent Loop BB0_6 Depth=1
                                        ;     Parent Loop BB0_12 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	sub	w20, w20, #1
	ldr	x0, [x23], #48
	bl	_N_ALIGN
	add	x21, x0, x21
	cbnz	w20, LBB0_14
	b	LBB0_11
LBB0_15:
Lloh0:
	adrp	x8, _LIBUSB_ERROR_INVALID_PARAM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LIBUSB_ERROR_INVALID_PARAM@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	b	LBB0_43
LBB0_16:
Lloh3:
	adrp	x8, _LIBUSB_ERROR_NOT_FOUND@GOTPAGE
Lloh4:
	ldr	x8, [x8, _LIBUSB_ERROR_NOT_FOUND@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	b	LBB0_43
LBB0_17:
	mov	w25, #0
	mov	x26, x27
LBB0_18:
	sxtw	x19, w26
	ldr	x24, [sp, #16]                  ; 8-byte Folded Reload
	add	x8, x21, x24, lsl #4
	mov	w9, #48
	smaddl	x8, w25, w9, x8
	add	x8, x8, x19, lsl #6
	add	x0, x8, #4
	bl	_N_ALIGN
	mov	x22, x0
	bl	_malloc
	cbz	x0, LBB0_27
; %bb.19:
	str	x0, [sp, #40]                   ; 8-byte Folded Spill
	sxtw	x20, w25
	mov	w1, #0
	mov	x2, x22
	bl	_memset
	ldr	x8, [sp, #40]                   ; 8-byte Folded Reload
	add	x8, x8, #56
	ldr	x9, [sp, #40]                   ; 8-byte Folded Reload
	str	x8, [x9, #16]
	add	x24, x8, x24, lsl #4
	add	x25, x24, x19, lsl #6
	mov	w8, #48
	madd	x22, x20, x8, x25
	ldr	x19, [sp, #40]                  ; 8-byte Folded Reload
	ldr	q0, [x23, #48]
	stur	q0, [x19, #40]
	ldr	q0, [x23, #32]
	stur	q0, [x19, #24]
	ldr	x2, [x23, #16]
	cbz	x2, LBB0_21
; %bb.20:
	stp	x2, x22, [x19]
	ldr	w1, [x23, #24]
	mov	x0, x22
	bl	_memcpy
	ldr	x0, [x19]
	bl	_N_ALIGN
	add	x22, x22, x0, lsl #2
LBB0_21:
	cmp	w27, #1
	b.lt	LBB0_42
; %bb.22:
	mov	x8, #0
	ldr	x9, [x19, #16]
	ldr	x10, [x23, #8]
	mov	w11, #80
	mov	w12, #48
	b	LBB0_24
LBB0_23:                                ;   in Loop: Header=BB0_24 Depth=1
	add	x8, x8, #1
	cmp	x8, x27
	b.eq	LBB0_28
LBB0_24:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_26 Depth 2
	add	x13, x9, x8, lsl #4
	str	x24, [x13, #8]
	str	x25, [x24, #16]
	madd	x13, x8, x11, x10
	ldp	w14, w13, [x13]
                                        ; kill: def $w14 killed $w14 def $x14
	sxtw	x14, w14
	madd	x25, x14, x12, x25
	add	x24, x24, #64
	cmp	w13, #1
	b.lt	LBB0_23
; %bb.25:                               ;   in Loop: Header=BB0_24 Depth=1
	madd	x14, x8, x11, x10
	ldr	x14, [x14, #72]
LBB0_26:                                ;   Parent Loop BB0_24 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	str	x25, [x24, #16]
	ldrsw	x15, [x14], #80
	madd	x25, x15, x12, x25
	add	x24, x24, #64
	subs	x13, x13, #1
	b.ne	LBB0_26
	b	LBB0_23
LBB0_27:
	mov	x0, x23
	bl	_free
Lloh6:
	adrp	x8, _LIBUSB_ERROR_NO_MEM@GOTPAGE
Lloh7:
	ldr	x8, [x8, _LIBUSB_ERROR_NO_MEM@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	b	LBB0_43
LBB0_28:
	mov	x24, #0
	ldr	x8, [x19, #16]
	mov	w25, #80
	b	LBB0_30
LBB0_29:                                ;   in Loop: Header=BB0_30 Depth=1
	add	x24, x24, #1
	ldp	x9, x23, [sp, #24]              ; 16-byte Folded Reload
	cmp	x24, x9
	b.eq	LBB0_42
LBB0_30:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_33 Depth 2
                                        ;       Child Loop BB0_40 Depth 3
	ldr	x9, [x23, #8]
	madd	x10, x24, x25, x9
	ldr	w10, [x10, #4]
	add	w11, w10, #1
	lsl	x26, x24, #4
	str	w11, [x8, x26]
	tbnz	w10, #31, LBB0_29
; %bb.31:                               ;   in Loop: Header=BB0_30 Depth=1
	mov	x27, #0
	madd	x28, x24, x25, x9
	b	LBB0_33
LBB0_32:                                ;   in Loop: Header=BB0_33 Depth=2
	add	x27, x27, #1
	ldr	x19, [sp, #40]                  ; 8-byte Folded Reload
	ldr	x8, [x19, #16]
	ldrsw	x9, [x8, x26]
	cmp	x27, x9
	b.ge	LBB0_29
LBB0_33:                                ;   Parent Loop BB0_30 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_40 Depth 3
	cbz	x27, LBB0_35
; %bb.34:                               ;   in Loop: Header=BB0_33 Depth=2
	ldr	x9, [sp, #32]                   ; 8-byte Folded Reload
	ldr	x9, [x9, #8]
	madd	x9, x24, x25, x9
	ldr	x9, [x9, #72]
	madd	x9, x27, x25, x9
	sub	x28, x9, #80
LBB0_35:                                ;   in Loop: Header=BB0_33 Depth=2
	add	x8, x8, x24, lsl #4
	ldr	x20, [x8, #8]
	ldr	w9, [x28, #64]
	add	x8, x20, x27, lsl #6
	str	w9, [x8, #56]
	ldr	q0, [x28, #48]
	stur	q0, [x8, #40]
	ldr	q0, [x28, #32]
	stur	q0, [x8, #24]
	ldr	x2, [x28, #16]
	cbz	x2, LBB0_37
; %bb.36:                               ;   in Loop: Header=BB0_33 Depth=2
	stp	x2, x22, [x8]
	ldr	w1, [x28, #24]
	mov	x0, x22
	bl	_memcpy
	ldr	x0, [x28, #16]
	bl	_N_ALIGN
	add	x22, x22, x0, lsl #2
LBB0_37:                                ;   in Loop: Header=BB0_33 Depth=2
	ldr	w8, [x28]
	cmp	w8, #1
	b.lt	LBB0_32
; %bb.38:                               ;   in Loop: Header=BB0_33 Depth=2
	mov	x19, #0
	mov	x23, #0
	add	x9, x20, x27, lsl #6
	add	x20, x9, #16
	b	LBB0_40
LBB0_39:                                ;   in Loop: Header=BB0_40 Depth=3
	add	x23, x23, #1
	add	x19, x19, #48
	cmp	x23, w8, sxtw
	b.ge	LBB0_32
LBB0_40:                                ;   Parent Loop BB0_30 Depth=1
                                        ;     Parent Loop BB0_33 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldr	x9, [x28, #8]
	ldr	x10, [x20]
	add	x21, x9, x19
	ldr	q0, [x21, #32]
	add	x9, x10, x19
	str	q0, [x9, #32]
	ldr	q0, [x21, #16]
	str	q0, [x9, #16]
	ldr	x2, [x21]
	cbz	x2, LBB0_39
; %bb.41:                               ;   in Loop: Header=BB0_40 Depth=3
	stp	x2, x22, [x9]
	ldr	w1, [x21, #8]
	mov	x0, x22
	bl	_memcpy
	ldr	x0, [x21]
	bl	_N_ALIGN
	add	x22, x22, x0, lsl #2
	ldr	w8, [x28]
	b	LBB0_39
LBB0_42:
	mov	x0, x23
	bl	_free
	mov	w0, #0
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	str	x19, [x8]
LBB0_43:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_LIBUSB_ERROR_INVALID_PARAM,4,2 ; @LIBUSB_ERROR_INVALID_PARAM
	.comm	_LIBUSB_ERROR_NOT_FOUND,4,2     ; @LIBUSB_ERROR_NOT_FOUND
	.comm	_LIBUSB_ERROR_NO_MEM,4,2        ; @LIBUSB_ERROR_NO_MEM
.subsections_via_symbols
