	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_req
_parse_req:                             ## @parse_req
	.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
                                        ## kill: def $edi killed $edi def $rdi
	testl	%edi, %edi
	je	LBB0_1
## %bb.2:
	movq	%rsi, %r15
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	leal	-1(%rdi), %eax
	cmpl	$6, %eax
	movl	$6, %r12d
	cmovbl	%eax, %r12d
	incl	%r12d
	xorl	%ebx, %ebx
	leaq	LJTI0_0(%rip), %r13
	xorl	%r14d, %r14d
	jmp	LBB0_3
LBB0_26:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r15,%rbx,8), %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_strtoul
	movq	_setup@GOTPCREL(%rip), %rcx
	movq	%rax, 8(%rcx)
	.p2align	4, 0x90
LBB0_27:                                ##   in Loop: Header=BB0_3 Depth=1
	incq	%rbx
	cmpq	%rbx, %r12
	je	LBB0_28
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$6, %ebx
	ja	LBB0_27
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	%ebx, %eax
	movslq	(%r13,%rax,4), %rax
	addq	%r13, %rax
	jmpq	*%rax
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r15,%rbx,8), %rdx
	movzbl	(%rdx), %eax
	cmpb	$111, %al
	je	LBB0_27
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpb	$105, %al
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	orl	$128, %r14d
	jmp	LBB0_27
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r15,%rbx,8), %rdx
	movzbl	(%rdx), %eax
	cmpb	$118, %al
	je	LBB0_14
## %bb.11:                              ##   in Loop: Header=BB0_3 Depth=1
	cmpb	$115, %al
	je	LBB0_27
## %bb.12:                              ##   in Loop: Header=BB0_3 Depth=1
	cmpb	$99, %al
	jne	LBB0_15
## %bb.13:                              ##   in Loop: Header=BB0_3 Depth=1
	orl	$32, %r14d
	jmp	LBB0_27
LBB0_16:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r15,%rbx,8), %rdx
	movzbl	(%rdx), %eax
	addb	$-100, %al
	cmpb	$11, %al
	ja	LBB0_20
## %bb.17:                              ##   in Loop: Header=BB0_3 Depth=1
	movzbl	%al, %eax
	leaq	LJTI0_1(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_18:                                ##   in Loop: Header=BB0_3 Depth=1
	orl	$2, %r14d
	jmp	LBB0_22
LBB0_23:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r15,%rbx,8), %rdi
	callq	_get_req
	movq	_setup@GOTPCREL(%rip), %rcx
	movl	%eax, 32(%rcx)
	jmp	LBB0_27
LBB0_24:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r15,%rbx,8), %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_strtoul
	movq	_setup@GOTPCREL(%rip), %rcx
	movq	%rax, 24(%rcx)
	jmp	LBB0_27
LBB0_25:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r15,%rbx,8), %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_strtoul
	movq	_setup@GOTPCREL(%rip), %rcx
	movq	%rax, 16(%rcx)
	jmp	LBB0_27
LBB0_14:                                ##   in Loop: Header=BB0_3 Depth=1
	orl	$64, %r14d
	jmp	LBB0_27
LBB0_21:                                ##   in Loop: Header=BB0_3 Depth=1
	orl	$1, %r14d
	jmp	LBB0_22
LBB0_19:                                ##   in Loop: Header=BB0_3 Depth=1
	orl	$3, %r14d
LBB0_22:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_setup@GOTPCREL(%rip), %rax
	movl	%r14d, (%rax)
	jmp	LBB0_27
LBB0_28:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	subl	%ebx, %eax
	jmp	LBB0_29
LBB0_1:
	xorl	%eax, %eax
LBB0_29:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_9
LBB0_15:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_9
LBB0_20:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
LBB0_9:
	callq	_fprintf
	movl	$-1, %eax
	jmp	LBB0_29
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_23, LBB0_23-LJTI0_0
.set L0_0_set_24, LBB0_24-LJTI0_0
.set L0_0_set_25, LBB0_25-LJTI0_0
.set L0_0_set_26, LBB0_26-LJTI0_0
LJTI0_0:
	.long	L0_0_set_5
	.long	L0_0_set_10
	.long	L0_0_set_16
	.long	L0_0_set_23
	.long	L0_0_set_24
	.long	L0_0_set_25
	.long	L0_0_set_26
.set L0_1_set_22, LBB0_22-LJTI0_1
.set L0_1_set_18, LBB0_18-LJTI0_1
.set L0_1_set_20, LBB0_20-LJTI0_1
.set L0_1_set_21, LBB0_21-LJTI0_1
.set L0_1_set_19, LBB0_19-LJTI0_1
LJTI0_1:
	.long	L0_1_set_22
	.long	L0_1_set_18
	.long	L0_1_set_20
	.long	L0_1_set_20
	.long	L0_1_set_20
	.long	L0_1_set_21
	.long	L0_1_set_20
	.long	L0_1_set_20
	.long	L0_1_set_20
	.long	L0_1_set_20
	.long	L0_1_set_20
	.long	L0_1_set_19
	.end_data_region
                                        ## -- End function
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"request direction must be \"in\" or \"out\" (got %s)\n"

L_.str.1:                               ## @.str.1
	.asciz	"request type must be one of \"standard\", \"class\", or \"vendor\" (got %s)\n"

L_.str.2:                               ## @.str.2
	.asciz	"recipient must be one of \"device\", \"interface\", \"endpoint\", or \"other\" (got %s)\n"

	.comm	_setup,40,3                     ## @setup
	.no_dead_strip	_parse_req
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_req
_parse_req:                             ; @parse_req
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	cbz	w0, LBB0_24
; %bb.1:
	mov	x20, x1
	mov	x19, x0
	mov	x21, #0
	mov	w22, #0
	sub	w8, w0, #1
	mov	w9, #6
	cmp	w8, #6
	csel	w8, w8, w9, lo
	add	w23, w8, #1
Lloh0:
	adrp	x24, lJTI0_0@PAGE
Lloh1:
	add	x24, x24, lJTI0_0@PAGEOFF
Lloh2:
	adrp	x25, lJTI0_1@PAGE
Lloh3:
	add	x25, x25, lJTI0_1@PAGEOFF
Lloh4:
	adrp	x26, _setup@GOTPAGE
Lloh5:
	ldr	x26, [x26, _setup@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [x20, x21, lsl #3]
	mov	w1, #0
	mov	w2, #0
	bl	_strtoul
	str	x0, [x26, #8]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x21, x21, #1
	cmp	x23, x21
	b.eq	LBB0_23
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w21, #6
	b.hi	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	and	x8, x21, #0xffffffff
	adr	x9, LBB0_2
	ldrb	w10, [x24, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x2, [x20, x21, lsl #3]
	ldrb	w8, [x2]
	cmp	w8, #111
	b.eq	LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w8, #105
	b.ne	LBB0_25
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	orr	w22, w22, #0x80
	b	LBB0_3
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x2, [x20, x21, lsl #3]
	ldrb	w8, [x2]
	cmp	w8, #118
	b.eq	LBB0_19
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	cmp	w8, #115
	b.eq	LBB0_3
; %bb.11:                               ;   in Loop: Header=BB0_4 Depth=1
	cmp	w8, #99
	b.ne	LBB0_26
; %bb.12:                               ;   in Loop: Header=BB0_4 Depth=1
	orr	w22, w22, #0x20
	b	LBB0_3
LBB0_13:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x2, [x20, x21, lsl #3]
	ldrb	w8, [x2]
	sub	w8, w8, #100
	cmp	w8, #11
	b.hi	LBB0_27
; %bb.14:                               ;   in Loop: Header=BB0_4 Depth=1
	adr	x9, LBB0_15
	ldrb	w10, [x25, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_15:                                ;   in Loop: Header=BB0_4 Depth=1
	orr	w22, w22, #0x2
	str	w22, [x26]
	b	LBB0_3
LBB0_16:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [x20, x21, lsl #3]
	bl	_get_req
	str	w0, [x26, #32]
	b	LBB0_3
LBB0_17:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [x20, x21, lsl #3]
	mov	w1, #0
	mov	w2, #0
	bl	_strtoul
	str	x0, [x26, #24]
	b	LBB0_3
LBB0_18:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [x20, x21, lsl #3]
	mov	w1, #0
	mov	w2, #0
	bl	_strtoul
	str	x0, [x26, #16]
	b	LBB0_3
LBB0_19:                                ;   in Loop: Header=BB0_4 Depth=1
	orr	w22, w22, #0x40
	b	LBB0_3
LBB0_20:                                ;   in Loop: Header=BB0_4 Depth=1
	orr	w22, w22, #0x1
LBB0_21:                                ;   in Loop: Header=BB0_4 Depth=1
	str	w22, [x26]
	b	LBB0_3
LBB0_22:                                ;   in Loop: Header=BB0_4 Depth=1
	orr	w22, w22, #0x3
	str	w22, [x26]
	b	LBB0_3
LBB0_23:
	sub	w0, w19, w21
LBB0_24:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_25:
Lloh6:
	adrp	x8, _stderr@GOTPAGE
Lloh7:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_28
LBB0_26:
Lloh11:
	adrp	x8, _stderr@GOTPAGE
Lloh12:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
Lloh14:
	adrp	x1, l_.str.1@PAGE
Lloh15:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_28
LBB0_27:
Lloh16:
	adrp	x8, _stderr@GOTPAGE
Lloh17:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
Lloh19:
	adrp	x1, l_.str.2@PAGE
Lloh20:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_28:
	bl	_fprintf
	mov	w0, #-1
	b	LBB0_24
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
	.byte	(LBB0_16-LBB0_2)>>2
	.byte	(LBB0_17-LBB0_2)>>2
	.byte	(LBB0_18-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
lJTI0_1:
	.byte	(LBB0_21-LBB0_15)>>2
	.byte	(LBB0_15-LBB0_15)>>2
	.byte	(LBB0_27-LBB0_15)>>2
	.byte	(LBB0_27-LBB0_15)>>2
	.byte	(LBB0_27-LBB0_15)>>2
	.byte	(LBB0_20-LBB0_15)>>2
	.byte	(LBB0_27-LBB0_15)>>2
	.byte	(LBB0_27-LBB0_15)>>2
	.byte	(LBB0_27-LBB0_15)>>2
	.byte	(LBB0_27-LBB0_15)>>2
	.byte	(LBB0_27-LBB0_15)>>2
	.byte	(LBB0_22-LBB0_15)>>2
                                        ; -- End function
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"request direction must be \"in\" or \"out\" (got %s)\n"

l_.str.1:                               ; @.str.1
	.asciz	"request type must be one of \"standard\", \"class\", or \"vendor\" (got %s)\n"

l_.str.2:                               ; @.str.2
	.asciz	"recipient must be one of \"device\", \"interface\", \"endpoint\", or \"other\" (got %s)\n"

	.comm	_setup,40,3                     ; @setup
	.no_dead_strip	_parse_req
.subsections_via_symbols
