	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function show_host_select
_show_host_select:                      ## @show_host_select
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %r13d
	movl	$0, -52(%rbp)
	movl	$0, -48(%rbp)
	movl	$0, -44(%rbp)
	leal	1(%r13), %eax
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movl	$60, %ebx
	leaq	L_.str.2(%rip), %r14
	leaq	L_.str.3(%rip), %r15
	leaq	LJTI0_0(%rip), %r12
	jmp	LBB0_1
LBB0_18:                                ##   in Loop: Header=BB0_1 Depth=1
	xorl	%eax, %eax
	callq	_get_integer
	movl	%eax, %ebx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	leaq	L_.str(%rip), %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	leaq	-52(%rbp), %rcx
	movl	$4, %r8d
	callq	_sysctlbyname
	testl	%eax, %eax
	je	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	-52(%rbp), %esi
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.1(%rip), %rdi
	callq	_printf
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	-48(%rbp), %ecx
	movl	-44(%rbp), %r8d
	cmpl	$0, -52(%rbp)
	leaq	L_.str.4(%rip), %r9
	leaq	L_.str.5(%rip), %rax
	cmoveq	%rax, %r9
	movl	%ebx, (%rsp)
	movl	%r13d, %edi
	movq	%r14, %rsi
	movq	%r15, %rdx
	callq	_usb_ts_show_menu
	cmpl	$30, %eax
	ja	LBB0_19
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	%eax, %eax
	movslq	(%r12,%rax,4), %rax
	addq	%r12, %rax
	jmpq	*%rax
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	-56(%rbp), %edi                 ## 4-byte Reload
	leaq	-48(%rbp), %rsi
	leaq	-44(%rbp), %rdx
	callq	_show_host_device_selection
	jmp	LBB0_1
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
	xorl	%eax, %eax
	callq	_get_integer
	movzwl	%ax, %eax
	movl	%eax, -48(%rbp)
	xorl	%eax, %eax
	callq	_get_integer
	movzwl	%ax, %eax
	movl	%eax, -44(%rbp)
	jmp	LBB0_1
LBB0_7:                                 ##   in Loop: Header=BB0_1 Depth=1
	xorb	$1, -52(%rbp)
	jmp	LBB0_1
LBB0_8:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	-48(%rbp), %esi
	movl	-44(%rbp), %edx
	movl	-56(%rbp), %edi                 ## 4-byte Reload
	movl	%ebx, %ecx
	callq	_show_host_msc_test
	jmp	LBB0_1
LBB0_9:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	-48(%rbp), %esi
	movl	-44(%rbp), %edx
	movl	-56(%rbp), %edi                 ## 4-byte Reload
	movl	%ebx, %ecx
	callq	_show_host_modem_test
	jmp	LBB0_1
LBB0_10:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	-48(%rbp), %edi
	movl	-44(%rbp), %esi
	callq	_usb_get_string_desc_test
	jmp	LBB0_1
LBB0_11:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	-48(%rbp), %edi
	movl	-44(%rbp), %esi
	movl	%ebx, %edx
	callq	_usb_port_reset_test
	jmp	LBB0_1
LBB0_12:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	-48(%rbp), %edi
	movl	-44(%rbp), %esi
	movl	%ebx, %edx
	callq	_usb_set_config_test
	jmp	LBB0_1
LBB0_13:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	-48(%rbp), %edi
	movl	-44(%rbp), %esi
	movl	%ebx, %edx
	callq	_usb_get_descriptor_test
	jmp	LBB0_1
LBB0_14:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	-48(%rbp), %edi
	movl	-44(%rbp), %esi
	movl	%ebx, %edx
	callq	_usb_suspend_resume_test
	jmp	LBB0_1
LBB0_15:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	-48(%rbp), %edi
	movl	-44(%rbp), %esi
	callq	_usb_set_and_clear_stall_test
	jmp	LBB0_1
LBB0_16:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	-48(%rbp), %edi
	movl	-44(%rbp), %esi
	callq	_usb_set_alt_interface_test
	jmp	LBB0_1
LBB0_17:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	-48(%rbp), %edi
	movl	-44(%rbp), %esi
	callq	_usb_control_ep_error_test
	jmp	LBB0_1
LBB0_19:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_1, LBB0_1-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_19, LBB0_19-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
LJTI0_0:
	.long	L0_0_set_1
	.long	L0_0_set_5
	.long	L0_0_set_6
	.long	L0_0_set_7
	.long	L0_0_set_8
	.long	L0_0_set_9
	.long	L0_0_set_19
	.long	L0_0_set_19
	.long	L0_0_set_19
	.long	L0_0_set_19
	.long	L0_0_set_10
	.long	L0_0_set_11
	.long	L0_0_set_12
	.long	L0_0_set_13
	.long	L0_0_set_14
	.long	L0_0_set_15
	.long	L0_0_set_16
	.long	L0_0_set_17
	.long	L0_0_set_19
	.long	L0_0_set_19
	.long	L0_0_set_19
	.long	L0_0_set_19
	.long	L0_0_set_19
	.long	L0_0_set_19
	.long	L0_0_set_19
	.long	L0_0_set_19
	.long	L0_0_set_19
	.long	L0_0_set_19
	.long	L0_0_set_19
	.long	L0_0_set_19
	.long	L0_0_set_18
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"hw.usb.ehci.no_hs"

L_.str.1:                               ## @.str.1
	.asciz	"WARNING: Could not set non-FS mode to %d (error=%d)\n"

	.comm	_errno,4,2                      ## @errno
L_.str.2:                               ## @.str.2
	.asciz	"Select Host Mode Test (via LibUSB)"

L_.str.3:                               ## @.str.3
	.asciz	" 1) Select USB device (VID=0x%04x, PID=0x%04x)\n 2) Manually enter USB vendor and product ID\n 3) Force FULL speed operation: <%s>\n 4) Mass Storage (UMASS)\n 5) Modem (UMODEM)\n10) Start String Descriptor Test\n11) Start Port Reset Test\n12) Start Set Config Test\n13) Start Get Descriptor Test\n14) Start Suspend and Resume Test\n15) Start Set and Clear Endpoint Stall Test\n16) Start Set Alternate Interface Setting Test\n17) Start Invalid Control Request Test\n30) Duration: <%d> seconds\nx) Return to previous menu\n"

L_.str.4:                               ## @.str.4
	.asciz	"YES"

L_.str.5:                               ## @.str.5
	.asciz	"NO"

	.no_dead_strip	_show_host_select
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function show_host_select
_show_host_select:                      ; @show_host_select
	.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
	mov	x19, x0
	str	xzr, [sp, #8]
	add	w8, w0, #1
	stp	w8, wzr, [sp]                   ; 4-byte Folded Spill
	mov	w22, #60
Lloh0:
	adrp	x21, l_.str@PAGE
Lloh1:
	add	x21, x21, l_.str@PAGEOFF
Lloh2:
	adrp	x26, l_.str.4@PAGE
Lloh3:
	add	x26, x26, l_.str.4@PAGEOFF
Lloh4:
	adrp	x27, l_.str.5@PAGE
Lloh5:
	add	x27, x27, l_.str.5@PAGEOFF
Lloh6:
	adrp	x23, l_.str.2@PAGE
Lloh7:
	add	x23, x23, l_.str.2@PAGEOFF
Lloh8:
	adrp	x24, l_.str.3@PAGE
Lloh9:
	add	x24, x24, l_.str.3@PAGEOFF
Lloh10:
	adrp	x28, lJTI0_0@PAGE
Lloh11:
	add	x28, x28, lJTI0_0@PAGEOFF
Lloh12:
	adrp	x20, _errno@GOTPAGE
Lloh13:
	ldr	x20, [x20, _errno@GOTPAGEOFF]
Lloh14:
	adrp	x25, l_.str.1@PAGE
Lloh15:
	add	x25, x25, l_.str.1@PAGEOFF
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	bl	_get_integer
	mov	x22, x0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	x3, sp, #12
	mov	x0, x21
	mov	x1, #0
	mov	x2, #0
	mov	w4, #4
	bl	_sysctlbyname
	cbz	w0, LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w1, [sp, #12]
	ldr	w2, [x20]
	mov	x0, x25
	bl	_printf
LBB0_4:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldp	w4, w3, [sp, #4]
	ldr	w8, [sp, #12]
	cmp	w8, #0
	csel	x5, x27, x26, eq
	mov	x0, x19
	mov	x1, x23
	mov	x2, x24
	mov	x6, x22
	bl	_usb_ts_show_menu
	cmp	w0, #30
	b.hi	LBB0_19
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w8, w0
	adr	x9, LBB0_1
	ldrb	w10, [x28, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_6:                                 ;   in Loop: Header=BB0_2 Depth=1
	add	x1, sp, #8
	add	x2, sp, #4
	ldr	w0, [sp]                        ; 4-byte Folded Reload
	bl	_show_host_device_selection
	b	LBB0_2
LBB0_7:                                 ;   in Loop: Header=BB0_2 Depth=1
	bl	_get_integer
	and	w8, w0, #0xffff
	str	w8, [sp, #8]
	bl	_get_integer
	and	w8, w0, #0xffff
	str	w8, [sp, #4]
	b	LBB0_2
LBB0_8:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [sp, #12]
	eor	w8, w8, #0x1
	str	w8, [sp, #12]
	b	LBB0_2
LBB0_9:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldp	w2, w1, [sp, #4]
	ldr	w0, [sp]                        ; 4-byte Folded Reload
	mov	x3, x22
	bl	_show_host_msc_test
	b	LBB0_2
LBB0_10:                                ;   in Loop: Header=BB0_2 Depth=1
	ldp	w2, w1, [sp, #4]
	ldr	w0, [sp]                        ; 4-byte Folded Reload
	mov	x3, x22
	bl	_show_host_modem_test
	b	LBB0_2
LBB0_11:                                ;   in Loop: Header=BB0_2 Depth=1
	ldp	w1, w0, [sp, #4]
	bl	_usb_get_string_desc_test
	b	LBB0_2
LBB0_12:                                ;   in Loop: Header=BB0_2 Depth=1
	ldp	w1, w0, [sp, #4]
	mov	x2, x22
	bl	_usb_port_reset_test
	b	LBB0_2
LBB0_13:                                ;   in Loop: Header=BB0_2 Depth=1
	ldp	w1, w0, [sp, #4]
	mov	x2, x22
	bl	_usb_set_config_test
	b	LBB0_2
LBB0_14:                                ;   in Loop: Header=BB0_2 Depth=1
	ldp	w1, w0, [sp, #4]
	mov	x2, x22
	bl	_usb_get_descriptor_test
	b	LBB0_2
LBB0_15:                                ;   in Loop: Header=BB0_2 Depth=1
	ldp	w1, w0, [sp, #4]
	mov	x2, x22
	bl	_usb_suspend_resume_test
	b	LBB0_2
LBB0_16:                                ;   in Loop: Header=BB0_2 Depth=1
	ldp	w1, w0, [sp, #4]
	bl	_usb_set_and_clear_stall_test
	b	LBB0_2
LBB0_17:                                ;   in Loop: Header=BB0_2 Depth=1
	ldp	w1, w0, [sp, #4]
	bl	_usb_set_alt_interface_test
	b	LBB0_2
LBB0_18:                                ;   in Loop: Header=BB0_2 Depth=1
	ldp	w1, w0, [sp, #4]
	bl	_usb_control_ep_error_test
	b	LBB0_2
LBB0_19:
	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	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_1)>>2
	.byte	(LBB0_6-LBB0_1)>>2
	.byte	(LBB0_7-LBB0_1)>>2
	.byte	(LBB0_8-LBB0_1)>>2
	.byte	(LBB0_9-LBB0_1)>>2
	.byte	(LBB0_10-LBB0_1)>>2
	.byte	(LBB0_19-LBB0_1)>>2
	.byte	(LBB0_19-LBB0_1)>>2
	.byte	(LBB0_19-LBB0_1)>>2
	.byte	(LBB0_19-LBB0_1)>>2
	.byte	(LBB0_11-LBB0_1)>>2
	.byte	(LBB0_12-LBB0_1)>>2
	.byte	(LBB0_13-LBB0_1)>>2
	.byte	(LBB0_14-LBB0_1)>>2
	.byte	(LBB0_15-LBB0_1)>>2
	.byte	(LBB0_16-LBB0_1)>>2
	.byte	(LBB0_17-LBB0_1)>>2
	.byte	(LBB0_18-LBB0_1)>>2
	.byte	(LBB0_19-LBB0_1)>>2
	.byte	(LBB0_19-LBB0_1)>>2
	.byte	(LBB0_19-LBB0_1)>>2
	.byte	(LBB0_19-LBB0_1)>>2
	.byte	(LBB0_19-LBB0_1)>>2
	.byte	(LBB0_19-LBB0_1)>>2
	.byte	(LBB0_19-LBB0_1)>>2
	.byte	(LBB0_19-LBB0_1)>>2
	.byte	(LBB0_19-LBB0_1)>>2
	.byte	(LBB0_19-LBB0_1)>>2
	.byte	(LBB0_19-LBB0_1)>>2
	.byte	(LBB0_19-LBB0_1)>>2
	.byte	(LBB0_1-LBB0_1)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"hw.usb.ehci.no_hs"

l_.str.1:                               ; @.str.1
	.asciz	"WARNING: Could not set non-FS mode to %d (error=%d)\n"

	.comm	_errno,4,2                      ; @errno
l_.str.2:                               ; @.str.2
	.asciz	"Select Host Mode Test (via LibUSB)"

l_.str.3:                               ; @.str.3
	.asciz	" 1) Select USB device (VID=0x%04x, PID=0x%04x)\n 2) Manually enter USB vendor and product ID\n 3) Force FULL speed operation: <%s>\n 4) Mass Storage (UMASS)\n 5) Modem (UMODEM)\n10) Start String Descriptor Test\n11) Start Port Reset Test\n12) Start Set Config Test\n13) Start Get Descriptor Test\n14) Start Suspend and Resume Test\n15) Start Set and Clear Endpoint Stall Test\n16) Start Set Alternate Interface Setting Test\n17) Start Invalid Control Request Test\n30) Duration: <%d> seconds\nx) Return to previous menu\n"

l_.str.4:                               ; @.str.4
	.asciz	"YES"

l_.str.5:                               ; @.str.5
	.asciz	"NO"

	.no_dead_strip	_show_host_select
.subsections_via_symbols
