	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function udc_req_std_dev_get_descriptor
_udc_req_std_dev_get_descriptor:        ## @udc_req_std_dev_get_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_udd_g_ctrlreq@GOTPCREL(%rip), %r14
	movl	8(%r14), %eax
	movl	%eax, %ecx
	sarl	$8, %ecx
	movslq	%ecx, %rcx
	xorl	%ebx, %ebx
	addq	$-128, %rcx
	cmpq	$5, %rcx
	ja	LBB0_11
## %bb.1:
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rcx,4), %rcx
	addq	%rdx, %rcx
	jmpq	*%rcx
LBB0_2:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_udc_req_std_dev_get_str_desc
	testl	%eax, %eax
	jne	LBB0_9
	jmp	LBB0_11
LBB0_3:
	movq	_udc_config@GOTPCREL(%rip), %rax
	movq	16(%rax), %rdi
	movl	8(%rdi), %esi
	jmp	LBB0_8
LBB0_4:
	movzbl	%al, %eax
	movq	_udc_config@GOTPCREL(%rip), %rcx
	movq	16(%rcx), %rdx
	cmpq	%rax, (%rdx)
	jbe	LBB0_11
## %bb.5:
	movq	8(%rcx), %rcx
	movq	(%rcx,%rax,8), %rbx
	movl	(%rbx), %edi
	callq	_le16_to_cpu
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_udd_set_setup_payload
	movq	24(%r14), %rax
	movl	$132, (%rax)
	jmp	LBB0_9
LBB0_6:
	movq	_udc_config@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_11
## %bb.7:
	movl	(%rdi), %esi
LBB0_8:
	callq	_udd_set_setup_payload
LBB0_9:
	movq	16(%r14), %rax
	movl	$1, %ebx
	cmpq	(%r14), %rax
	jge	LBB0_11
## %bb.10:
	movq	%rax, (%r14)
LBB0_11:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_3
	.long	L0_0_set_4
	.long	L0_0_set_6
	.end_data_region
                                        ## -- End function
	.comm	_udd_g_ctrlreq,32,3             ## @udd_g_ctrlreq
	.comm	_udc_config,48,3                ## @udc_config
	.no_dead_strip	_udc_req_std_dev_get_descriptor
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function udc_req_std_dev_get_descriptor
_udc_req_std_dev_get_descriptor:        ; @udc_req_std_dev_get_descriptor
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	w0, #0
Lloh0:
	adrp	x20, _udd_g_ctrlreq@GOTPAGE
Lloh1:
	ldr	x20, [x20, _udd_g_ctrlreq@GOTPAGEOFF]
	ldr	w8, [x20, #8]
	mov	x9, x8
	sbfx	x9, x9, #8, #24
	sub	x9, x9, #128
	cmp	x9, #5
	b.hi	LBB0_12
; %bb.1:
Lloh2:
	adrp	x10, lJTI0_0@PAGE
Lloh3:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_2
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_2:
	bl	_udc_req_std_dev_get_str_desc
	cbnz	w0, LBB0_9
	b	LBB0_12
LBB0_3:
Lloh4:
	adrp	x8, _udc_config@GOTPAGE
Lloh5:
	ldr	x8, [x8, _udc_config@GOTPAGEOFF]
Lloh6:
	ldr	x0, [x8, #16]
	ldr	w1, [x0, #8]
	b	LBB0_8
LBB0_4:
	and	x8, x8, #0xff
Lloh7:
	adrp	x9, _udc_config@GOTPAGE
Lloh8:
	ldr	x9, [x9, _udc_config@GOTPAGEOFF]
	ldr	x10, [x9, #16]
	ldr	x10, [x10]
	cmp	x10, x8
	b.ls	LBB0_13
; %bb.5:
	ldr	x9, [x9, #8]
	ldr	x19, [x9, x8, lsl #3]
	ldr	w0, [x19]
	bl	_le16_to_cpu
	mov	x1, x0
	mov	x0, x19
	bl	_udd_set_setup_payload
	ldr	x8, [x20, #24]
	mov	w9, #132
	str	w9, [x8]
	b	LBB0_9
LBB0_6:
Lloh9:
	adrp	x8, _udc_config@GOTPAGE
Lloh10:
	ldr	x8, [x8, _udc_config@GOTPAGEOFF]
Lloh11:
	ldr	x0, [x8]
	cbz	x0, LBB0_12
; %bb.7:
	ldr	w1, [x0]
LBB0_8:
	bl	_udd_set_setup_payload
LBB0_9:
	ldr	x8, [x20, #16]
	ldr	x9, [x20]
	cmp	x8, x9
	b.ge	LBB0_11
; %bb.10:
	str	x8, [x20]
LBB0_11:
	mov	w0, #1
LBB0_12:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_13:
	mov	w0, #0
	b	LBB0_12
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
                                        ; -- End function
	.comm	_udd_g_ctrlreq,32,3             ; @udd_g_ctrlreq
	.comm	_udc_config,48,3                ; @udc_config
	.no_dead_strip	_udc_req_std_dev_get_descriptor
.subsections_via_symbols
