	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ## -- Begin function main
	.p2align	4, 0x90
_main:                                  ## @main
	.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	$152, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movl	%edi, %r14d
	leaq	L_.str(%rip), %r13
	leaq	LJTI0_0(%rip), %r12
	xorl	%eax, %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
	xorl	%r15d, %r15d
	movl	$0, -52(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_1
LBB0_14:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	_zflag@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r14d, %edi
	movq	%rbx, %rsi
	movq	%r13, %rdx
	callq	_getopt
                                        ## kill: def $eax killed $eax def $rax
	leal	-97(%rax), %ecx
	cmpl	$25, %ecx
	ja	LBB0_2
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	movslq	(%r12,%rcx,4), %rax
	addq	%r12, %rax
	jmpq	*%rax
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	incl	-48(%rbp)                       ## 4-byte Folded Spill
	jmp	LBB0_1
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	_optarg@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	jmp	LBB0_1
LBB0_7:                                 ##   in Loop: Header=BB0_1 Depth=1
	xorl	$1, -52(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_1
LBB0_8:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	_noname@GOTPCREL(%rip), %rax
	incl	(%rax)
	jmp	LBB0_1
LBB0_9:                                 ##   in Loop: Header=BB0_1 Depth=1
	incl	%r15d
	jmp	LBB0_1
LBB0_10:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	_optarg@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_1
LBB0_11:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	_verbose@GOTPCREL(%rip), %rax
	incl	(%rax)
	jmp	LBB0_1
LBB0_12:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	_wflag@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	jmp	LBB0_1
LBB0_13:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	_hexdump@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	jmp	LBB0_1
LBB0_2:                                 ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$-1, %eax
	je	LBB0_15
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	xorl	%eax, %eax
	callq	_usage
	jmp	LBB0_1
LBB0_15:
	movq	_optind@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	testq	%r13, %r13
	jne	LBB0_17
## %bb.16:
	xorl	%eax, %eax
	callq	_usage
LBB0_17:
	movl	%r12d, %eax
	xorl	%r14d, %eax
	orl	-48(%rbp), %eax                 ## 4-byte Folded Reload
	setne	-41(%rbp)                       ## 1-byte Folded Spill
	jne	LBB0_20
## %bb.18:
	testl	%r15d, %r15d
	jne	LBB0_20
## %bb.19:
	xorl	%eax, %eax
	callq	_usage
LBB0_20:
	movb	(%r13), %al
	cmpb	$47, %al
	movq	%r12, -80(%rbp)                 ## 8-byte Spill
	je	LBB0_22
## %bb.21:
	leaq	-192(%rbp), %r12
	movsbl	%al, %edi
	callq	_isdigit
	testq	%rax, %rax
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.1(%rip), %rdx
	cmoveq	%rax, %rdx
	movq	%r12, %rdi
	movl	$100, %esi
	movq	%r13, %rcx
	callq	_snprintf
	movq	%r12, %r13
LBB0_22:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_hid_init
	movq	_O_RDWR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_open
	movl	%eax, %r12d
	testl	%eax, %eax
	jns	LBB0_24
## %bb.23:
	leaq	L_.str.3(%rip), %rsi
	movl	$1, %edi
	movq	%r13, %rdx
	callq	_err
LBB0_24:
	movl	%r12d, %edi
	callq	_hid_get_report_desc
	movq	%rax, %r13
	testq	%rax, %rax
	je	LBB0_25
## %bb.26:
	testl	%r15d, %r15d
	jne	LBB0_27
LBB0_28:
	cmpb	$0, -41(%rbp)                   ## 1-byte Folded Reload
	jne	LBB0_29
	jmp	LBB0_32
LBB0_25:
	leaq	L_.str.4(%rip), %rsi
	movl	$1, %edi
	callq	_errx
	testl	%r15d, %r15d
	je	LBB0_28
LBB0_27:
	leaq	L_str(%rip), %rdi
	callq	_puts
	movq	%r13, %rdi
	callq	_dumpitems
	cmpb	$0, -41(%rbp)                   ## 1-byte Folded Reload
	je	LBB0_32
LBB0_29:
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	subl	%eax, %r14d
	leaq	(%rbx,%rax,8), %rcx
	movq	%r13, %rdi
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	movl	%r14d, %edx
	callq	_parceargs
	movq	_wflag@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_30
## %bb.31:
	movl	%r12d, %edi
	movq	%r13, %rsi
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	callq	_dumpdata
	jmp	LBB0_32
LBB0_30:
	movl	%r12d, %edi
	movq	%r13, %rsi
	callq	_writedata
LBB0_32:
	movq	%r13, %rdi
	callq	_hid_dispose_report_desc
	xorl	%edi, %edi
	callq	_exit
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_3, LBB0_3-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_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
LJTI0_0:
	.long	L0_0_set_5
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_6
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_7
	.long	L0_0_set_3
	.long	L0_0_set_8
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_9
	.long	L0_0_set_3
	.long	L0_0_set_10
	.long	L0_0_set_3
	.long	L0_0_set_11
	.long	L0_0_set_12
	.long	L0_0_set_13
	.long	L0_0_set_3
	.long	L0_0_set_14
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"af:lnrt:vwxz"

	.comm	_optarg,8,3                     ## @optarg
	.comm	_noname,4,2                     ## @noname
	.comm	_verbose,4,2                    ## @verbose
	.comm	_wflag,4,2                      ## @wflag
	.comm	_hexdump,4,2                    ## @hexdump
	.comm	_zflag,4,2                      ## @zflag
	.comm	_optind,8,3                     ## @optind
L_.str.1:                               ## @.str.1
	.asciz	"/dev/uhid%s"

L_.str.2:                               ## @.str.2
	.asciz	"/dev/%s"

	.comm	_O_RDWR,4,2                     ## @O_RDWR
L_.str.3:                               ## @.str.3
	.asciz	"%s"

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

L_str:                                  ## @str
	.asciz	"Report descriptor:"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ; -- Begin function main
	.p2align	2
_main:                                  ; @main
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #224
	.cfi_def_cfa_offset 224
	stp	x28, x27, [sp, #128]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #144]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #160]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #176]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #192]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #208]            ; 16-byte Folded Spill
	add	x29, sp, #208
	.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	x21, x1
	mov	x22, x0
	stp	xzr, xzr, [sp, #8]              ; 16-byte Folded Spill
	mov	w20, #0
	mov	w27, #0
	mov	w19, #0
Lloh0:
	adrp	x26, _noname@GOTPAGE
Lloh1:
	ldr	x26, [x26, _noname@GOTPAGEOFF]
Lloh2:
	adrp	x25, l_.str@PAGE
Lloh3:
	add	x25, x25, l_.str@PAGEOFF
Lloh4:
	adrp	x23, _verbose@GOTPAGE
Lloh5:
	ldr	x23, [x23, _verbose@GOTPAGEOFF]
	mov	w24, #1
Lloh6:
	adrp	x28, lJTI0_0@PAGE
Lloh7:
	add	x28, x28, lJTI0_0@PAGEOFF
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
Lloh8:
	adrp	x8, _zflag@GOTPAGE
Lloh9:
	ldr	x8, [x8, _zflag@GOTPAGEOFF]
Lloh10:
	str	w24, [x8]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	mov	x1, x21
	mov	x2, x25
	bl	_getopt
	sub	w8, w0, #97
	cmp	w8, #25
	b.hi	LBB0_13
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	adr	x9, LBB0_1
	ldrb	w10, [x28, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_4:                                 ;   in Loop: Header=BB0_2 Depth=1
	add	w20, w20, #1
	b	LBB0_2
LBB0_5:                                 ;   in Loop: Header=BB0_2 Depth=1
Lloh11:
	adrp	x8, _optarg@GOTPAGE
Lloh12:
	ldr	x8, [x8, _optarg@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	str	x8, [sp, #16]                   ; 8-byte Folded Spill
	b	LBB0_2
LBB0_6:                                 ;   in Loop: Header=BB0_2 Depth=1
	eor	w19, w19, #0x1
	b	LBB0_2
LBB0_7:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x26]
	add	w8, w8, #1
	str	w8, [x26]
	b	LBB0_2
LBB0_8:                                 ;   in Loop: Header=BB0_2 Depth=1
	add	w27, w27, #1
	b	LBB0_2
LBB0_9:                                 ;   in Loop: Header=BB0_2 Depth=1
Lloh14:
	adrp	x8, _optarg@GOTPAGE
Lloh15:
	ldr	x8, [x8, _optarg@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	str	x8, [sp, #8]                    ; 8-byte Folded Spill
	b	LBB0_2
LBB0_10:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x23]
	add	w8, w8, #1
	str	w8, [x23]
	b	LBB0_2
LBB0_11:                                ;   in Loop: Header=BB0_2 Depth=1
Lloh17:
	adrp	x8, _wflag@GOTPAGE
Lloh18:
	ldr	x8, [x8, _wflag@GOTPAGEOFF]
Lloh19:
	str	w24, [x8]
	b	LBB0_2
LBB0_12:                                ;   in Loop: Header=BB0_2 Depth=1
Lloh20:
	adrp	x8, _hexdump@GOTPAGE
Lloh21:
	ldr	x8, [x8, _hexdump@GOTPAGEOFF]
Lloh22:
	str	w24, [x8]
	b	LBB0_2
LBB0_13:                                ;   in Loop: Header=BB0_2 Depth=1
	cmn	w0, #1
	b.eq	LBB0_15
LBB0_14:                                ;   in Loop: Header=BB0_2 Depth=1
	bl	_usage
	b	LBB0_2
LBB0_15:
Lloh23:
	adrp	x8, _optind@GOTPAGE
Lloh24:
	ldr	x8, [x8, _optind@GOTPAGEOFF]
Lloh25:
	ldr	x25, [x8]
	ldr	x23, [sp, #16]                  ; 8-byte Folded Reload
	cbnz	x23, LBB0_17
; %bb.16:
	bl	_usage
LBB0_17:
	cmp	w25, w22
	ccmp	w20, #0, #0, eq
	cset	w26, ne
	b.ne	LBB0_20
; %bb.18:
	cbnz	w27, LBB0_20
; %bb.19:
	bl	_usage
LBB0_20:
	ldrb	w8, [x23]
	cmp	w8, #47
	b.eq	LBB0_22
; %bb.21:
	sxtb	w0, w8
	bl	_isdigit
Lloh26:
	adrp	x8, l_.str.1@PAGE
Lloh27:
	add	x8, x8, l_.str.1@PAGEOFF
Lloh28:
	adrp	x9, l_.str.2@PAGE
Lloh29:
	add	x9, x9, l_.str.2@PAGEOFF
	cmp	x0, #0
	csel	x2, x9, x8, eq
	add	x0, sp, #28
	mov	w1, #100
	mov	x3, x23
	bl	_snprintf
	add	x23, sp, #28
LBB0_22:
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
	bl	_hid_init
Lloh30:
	adrp	x8, _O_RDWR@GOTPAGE
Lloh31:
	ldr	x8, [x8, _O_RDWR@GOTPAGEOFF]
Lloh32:
	ldr	w1, [x8]
	mov	x0, x23
	bl	_open
	mov	x24, x0
	tbz	w0, #31, LBB0_24
; %bb.23:
Lloh33:
	adrp	x1, l_.str.3@PAGE
Lloh34:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	w0, #1
	mov	x2, x23
	bl	_err
LBB0_24:
	mov	x0, x24
	bl	_hid_get_report_desc
	mov	x23, x0
	cbz	x0, LBB0_27
; %bb.25:
	cbnz	w27, LBB0_28
LBB0_26:
	cbnz	w26, LBB0_29
	b	LBB0_32
LBB0_27:
Lloh35:
	adrp	x1, l_.str.4@PAGE
Lloh36:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	w0, #1
	bl	_errx
	cbz	w27, LBB0_26
LBB0_28:
Lloh37:
	adrp	x0, l_str@PAGE
Lloh38:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
	mov	x0, x23
	bl	_dumpitems
	cbz	w26, LBB0_32
LBB0_29:
	sub	w2, w22, w25
	add	x3, x21, x25, lsl #3
	mov	x0, x23
	mov	x1, x20
	bl	_parceargs
Lloh39:
	adrp	x8, _wflag@GOTPAGE
Lloh40:
	ldr	x8, [x8, _wflag@GOTPAGEOFF]
Lloh41:
	ldr	w8, [x8]
	cbnz	w8, LBB0_31
; %bb.30:
	mov	x0, x24
	mov	x1, x23
	mov	x2, x19
	bl	_dumpdata
	b	LBB0_32
LBB0_31:
	mov	x0, x24
	mov	x1, x23
	bl	_writedata
LBB0_32:
	mov	x0, x23
	bl	_hid_dispose_report_desc
	mov	w0, #0
	bl	_exit
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotStr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotStr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotStr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_4-LBB0_1)>>2
	.byte	(LBB0_14-LBB0_1)>>2
	.byte	(LBB0_14-LBB0_1)>>2
	.byte	(LBB0_14-LBB0_1)>>2
	.byte	(LBB0_14-LBB0_1)>>2
	.byte	(LBB0_5-LBB0_1)>>2
	.byte	(LBB0_14-LBB0_1)>>2
	.byte	(LBB0_14-LBB0_1)>>2
	.byte	(LBB0_14-LBB0_1)>>2
	.byte	(LBB0_14-LBB0_1)>>2
	.byte	(LBB0_14-LBB0_1)>>2
	.byte	(LBB0_6-LBB0_1)>>2
	.byte	(LBB0_14-LBB0_1)>>2
	.byte	(LBB0_7-LBB0_1)>>2
	.byte	(LBB0_14-LBB0_1)>>2
	.byte	(LBB0_14-LBB0_1)>>2
	.byte	(LBB0_14-LBB0_1)>>2
	.byte	(LBB0_8-LBB0_1)>>2
	.byte	(LBB0_14-LBB0_1)>>2
	.byte	(LBB0_9-LBB0_1)>>2
	.byte	(LBB0_14-LBB0_1)>>2
	.byte	(LBB0_10-LBB0_1)>>2
	.byte	(LBB0_11-LBB0_1)>>2
	.byte	(LBB0_12-LBB0_1)>>2
	.byte	(LBB0_14-LBB0_1)>>2
	.byte	(LBB0_1-LBB0_1)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"af:lnrt:vwxz"

	.comm	_optarg,8,3                     ; @optarg
	.comm	_noname,4,2                     ; @noname
	.comm	_verbose,4,2                    ; @verbose
	.comm	_wflag,4,2                      ; @wflag
	.comm	_hexdump,4,2                    ; @hexdump
	.comm	_zflag,4,2                      ; @zflag
	.comm	_optind,8,3                     ; @optind
l_.str.1:                               ; @.str.1
	.asciz	"/dev/uhid%s"

l_.str.2:                               ; @.str.2
	.asciz	"/dev/%s"

	.comm	_O_RDWR,4,2                     ; @O_RDWR
l_.str.3:                               ; @.str.3
	.asciz	"%s"

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

l_str:                                  ; @str
	.asciz	"Report descriptor:"

.subsections_via_symbols
