	.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	$56, %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, %r12d
	leaq	L_.str(%rip), %r13
	leaq	LJTI0_0(%rip), %r14
	xorl	%eax, %eax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	xorl	%eax, %eax
	movl	$0, -84(%rbp)                   ## 4-byte Folded Spill
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
	movl	$0, -76(%rbp)                   ## 4-byte Folded Spill
	movl	$0, -80(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_1
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	_optarg@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movl	%r15d, %eax
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	%eax, %r15d
	movl	%r12d, %edi
	movq	%rbx, %rsi
	movq	%r13, %rdx
	callq	_getopt
                                        ## kill: def $eax killed $eax def $rax
	leal	-78(%rax), %ecx
	cmpl	$40, %ecx
	ja	LBB0_2
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	$1, %eax
	movslq	(%r14,%rcx,4), %rcx
	addq	%r14, %rcx
	jmpq	*%rcx
LBB0_8:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	$129, -44(%rbp)                 ## 4-byte Folded Spill
	movl	%r15d, %eax
	jmp	LBB0_1
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	$1, -84(%rbp)                   ## 4-byte Folded Spill
	movl	%r15d, %eax
	jmp	LBB0_1
LBB0_7:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	$1, -48(%rbp)                   ## 4-byte Folded Spill
	movl	%r15d, %eax
	jmp	LBB0_1
LBB0_9:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	$128, -44(%rbp)                 ## 4-byte Folded Spill
	movl	%r15d, %eax
	jmp	LBB0_1
LBB0_11:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	$1, -80(%rbp)                   ## 4-byte Folded Spill
	movl	%r15d, %eax
	jmp	LBB0_1
LBB0_10:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	$1, -76(%rbp)                   ## 4-byte Folded Spill
	movl	%r15d, %eax
	jmp	LBB0_1
LBB0_2:                                 ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$-1, %eax
	je	LBB0_12
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	xorl	%eax, %eax
	callq	_usage
	movl	%r15d, %eax
	jmp	LBB0_1
LBB0_12:
	movq	_optind@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	testq	%rdi, %rdi
	jne	LBB0_14
## %bb.13:
	xorl	%edi, %edi
	callq	_gpio_open
	jmp	LBB0_15
LBB0_14:
	callq	_gpio_open_device
LBB0_15:
	movq	%rax, %r14
	movq	_GPIO_INVALID_HANDLE@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r14
	jne	LBB0_18
## %bb.16:
	leaq	L_.str.1(%rip), %rdi
LBB0_17:
	callq	_perror
	movl	$1, %edi
	callq	_exit
LBB0_18:
	cmpl	$0, -84(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_19
## %bb.20:
	cmpl	%r12d, %r13d
	jne	LBB0_22
## %bb.21:
	xorl	%eax, %eax
	callq	_usage
LBB0_22:
	movq	%r13, -72(%rbp)                 ## 8-byte Spill
	leaq	(%rbx,%r13,8), %r13
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	cmpb	$-128, %al
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	je	LBB0_28
## %bb.23:
	cmpb	$-127, %al
	jne	LBB0_24
## %bb.30:
	movq	(%r13), %rsi
	movq	%r14, %rdi
	callq	_get_pinnum_by_name
	jmp	LBB0_31
LBB0_19:
	movq	%r14, %rdi
	movl	-80(%rbp), %esi                 ## 4-byte Reload
	callq	_dump_pins
	movq	%r14, %rdi
LBB0_44:
	callq	_gpio_close
	xorl	%edi, %edi
	callq	_exit
LBB0_28:
	movq	(%r13), %rdi
	leaq	-52(%rbp), %rsi
	callq	_str2int
	movl	%eax, %esi
	cmpl	$0, -52(%rbp)
	movl	-48(%rbp), %ebx                 ## 4-byte Reload
	jne	LBB0_33
## %bb.29:
	movl	%esi, %r14d
	movq	(%r13), %rsi
	leaq	L_.str.4(%rip), %rdi
	callq	_fail
	movl	%r14d, %esi
	jmp	LBB0_33
LBB0_24:
	movq	(%r13), %rdi
	leaq	-52(%rbp), %rsi
	callq	_str2int
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	-52(%rbp), %ebx
	movq	(%r13), %rsi
	movq	%r14, %rdi
	callq	_get_pinnum_by_name
	testl	%ebx, %ebx
	jne	LBB0_25
LBB0_31:
	movl	%eax, %esi
	cmpl	$-1, %eax
	movl	-48(%rbp), %ebx                 ## 4-byte Reload
	jne	LBB0_33
## %bb.32:
	movq	(%r13), %rsi
	leaq	L_.str.3(%rip), %rdi
	callq	_fail
	movl	$-1, %esi
	jmp	LBB0_33
LBB0_25:
	cmpl	$-1, %eax
	je	LBB0_26
## %bb.27:
	movq	(%r13), %rsi
	leaq	L_.str.2(%rip), %rdi
	callq	_fail
LBB0_26:
	movl	-48(%rbp), %ebx                 ## 4-byte Reload
	movl	-44(%rbp), %esi                 ## 4-byte Reload
LBB0_33:
	movl	%r12d, %r14d
	subl	-72(%rbp), %r14d                ## 4-byte Folded Reload
	testl	%ebx, %ebx
	jne	LBB0_34
## %bb.38:
	cmpl	$0, -76(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_39
## %bb.45:
	testl	%r15d, %r15d
	jne	LBB0_46
## %bb.54:
	cmpl	%r12d, -72(%rbp)                ## 4-byte Folded Reload
	je	LBB0_56
## %bb.55:
	cmpl	$3, %r14d
	jl	LBB0_57
LBB0_56:
	xorl	%eax, %eax
	movl	%esi, %ebx
	callq	_usage
	movl	%ebx, %esi
LBB0_57:
	cmpl	$1, %r14d
	jne	LBB0_61
## %bb.58:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_gpio_pin_get
	testl	%eax, %eax
	jns	LBB0_60
## %bb.59:
	leaq	L_.str.9(%rip), %rdi
	jmp	LBB0_17
LBB0_34:
	cmpl	$2, %r14d
	je	LBB0_36
## %bb.35:
	xorl	%eax, %eax
	movl	%esi, %ebx
	callq	_usage
	movl	%ebx, %esi
LBB0_36:
	movq	8(%r13), %rdx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_gpio_pin_set_name
	testq	%rax, %rax
	jns	LBB0_53
## %bb.37:
	leaq	L_.str.5(%rip), %rdi
	jmp	LBB0_17
LBB0_39:
	cmpl	$2, %r14d
	jl	LBB0_41
## %bb.40:
	xorl	%eax, %eax
	movl	%esi, %ebx
	callq	_usage
	movl	%ebx, %esi
LBB0_41:
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_gpio_pin_toggle
	testq	%rax, %rax
	jns	LBB0_43
## %bb.42:
	leaq	L_.str.6(%rip), %rdi
	jmp	LBB0_17
LBB0_46:
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	xorl	%ebx, %ebx
	cmpl	$2, %r14d
	jl	LBB0_51
## %bb.47:
	movl	%r14d, %r15d
	xorl	%ebx, %ebx
	movl	$1, %r12d
	jmp	LBB0_48
	.p2align	4, 0x90
LBB0_50:                                ##   in Loop: Header=BB0_48 Depth=1
	orl	%r14d, %ebx
	incq	%r12
	cmpq	%r12, %r15
	je	LBB0_51
LBB0_48:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r13,%r12,8), %rdi
	callq	_str2cap
	movl	%eax, %r14d
	testl	%eax, %eax
	jns	LBB0_50
## %bb.49:                              ##   in Loop: Header=BB0_48 Depth=1
	movq	(%r13,%r12,8), %rsi
	leaq	L_.str.7(%rip), %rdi
	callq	_fail
	jmp	LBB0_50
LBB0_51:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, -96(%rbp)
	movl	%ebx, -92(%rbp)
	leaq	-96(%rbp), %rsi
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_gpio_pin_set_flags
	testq	%rax, %rax
	jns	LBB0_53
## %bb.52:
	leaq	L_.str.8(%rip), %rdi
	jmp	LBB0_17
LBB0_53:
	xorl	%edi, %edi
	callq	_exit
LBB0_61:
	movl	%esi, %r15d
	movq	8(%r13), %rdi
	leaq	-52(%rbp), %rsi
	callq	_str2int
	movl	%eax, %r14d
	cmpl	$0, -52(%rbp)
	je	LBB0_63
## %bb.62:
	cmpl	$2, %r14d
	jb	LBB0_64
LBB0_63:
	movq	8(%r13), %rsi
	leaq	L_.str.11(%rip), %rdi
	callq	_fail
LBB0_64:
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movl	%r14d, %edx
	callq	_gpio_pin_set
	testq	%rax, %rax
	jns	LBB0_43
## %bb.65:
	leaq	L_.str.12(%rip), %rdi
	jmp	LBB0_17
LBB0_43:
	movq	%rbx, %rdi
	jmp	LBB0_44
LBB0_60:
	leaq	L_.str.10(%rip), %rdi
	movl	%eax, %esi
	callq	_printf
	xorl	%edi, %edi
	callq	_exit
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.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_9, LBB0_9-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
LJTI0_0:
	.long	L0_0_set_8
	.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_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_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_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_1
	.long	L0_0_set_3
	.long	L0_0_set_3
	.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_3
	.long	L0_0_set_6
	.long	L0_0_set_3
	.long	L0_0_set_7
	.long	L0_0_set_3
	.long	L0_0_set_9
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_10
	.long	L0_0_set_3
	.long	L0_0_set_11
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cf:lntvNp"

	.comm	_optarg,8,3                     ## @optarg
	.comm	_optind,8,3                     ## @optind
	.comm	_GPIO_INVALID_HANDLE,8,3        ## @GPIO_INVALID_HANDLE
L_.str.1:                               ## @.str.1
	.asciz	"gpio_open"

L_.str.2:                               ## @.str.2
	.asciz	"%s is also a pin name, use -p or -N\n"

L_.str.3:                               ## @.str.3
	.asciz	"Can't find pin named \"%s\"\n"

L_.str.4:                               ## @.str.4
	.asciz	"Invalid pin number: %s\n"

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

L_.str.6:                               ## @.str.6
	.asciz	"gpio_pin_toggle"

L_.str.7:                               ## @.str.7
	.asciz	"Invalid flag: %s\n"

L_.str.8:                               ## @.str.8
	.asciz	"gpio_pin_set_flags"

L_.str.9:                               ## @.str.9
	.asciz	"gpio_pin_get"

L_.str.10:                              ## @.str.10
	.asciz	"%d\n"

L_.str.11:                              ## @.str.11
	.asciz	"Invalid pin value: %s\n"

L_.str.12:                              ## @.str.12
	.asciz	"gpio_pin_set"

.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, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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, x1
	mov	x20, x0
	mov	x21, #0
	mov	w27, #0
	mov	w8, #0
	mov	w28, #0
	stp	wzr, wzr, [sp, #12]             ; 8-byte Folded Spill
	mov	w22, #0
Lloh0:
	adrp	x23, l_.str@PAGE
Lloh1:
	add	x23, x23, l_.str@PAGEOFF
Lloh2:
	adrp	x24, _optarg@GOTPAGE
Lloh3:
	ldr	x24, [x24, _optarg@GOTPAGEOFF]
Lloh4:
	adrp	x25, lJTI0_0@PAGE
Lloh5:
	add	x25, x25, lJTI0_0@PAGEOFF
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x21, [x24]
	mov	x8, x26
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x26, x8
	mov	x0, x20
	mov	x1, x19
	mov	x2, x23
	bl	_getopt
	sub	w9, w0, #78
	cmp	w9, #40
	b.hi	LBB0_10
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w8, #1
	adr	x10, LBB0_1
	ldrb	w11, [x25, x9]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_4:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	w27, #129
	mov	x8, x26
	b	LBB0_2
LBB0_5:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	w28, #1
	mov	x8, x26
	b	LBB0_2
LBB0_6:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	w8, #1
	str	w8, [sp, #16]                   ; 4-byte Folded Spill
	mov	x8, x26
	b	LBB0_2
LBB0_7:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	w27, #128
	mov	x8, x26
	b	LBB0_2
LBB0_8:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	w22, #1
	mov	x8, x26
	b	LBB0_2
LBB0_9:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	w8, #1
	str	w8, [sp, #12]                   ; 4-byte Folded Spill
	mov	x8, x26
	b	LBB0_2
LBB0_10:                                ;   in Loop: Header=BB0_2 Depth=1
	cmn	w0, #1
	b.eq	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_2 Depth=1
	bl	_usage
	mov	x8, x26
	b	LBB0_2
LBB0_12:
Lloh6:
	adrp	x8, _optind@GOTPAGE
Lloh7:
	ldr	x8, [x8, _optind@GOTPAGEOFF]
Lloh8:
	ldr	x23, [x8]
	cbnz	x21, LBB0_14
; %bb.13:
	mov	w0, #0
	bl	_gpio_open
	b	LBB0_15
LBB0_14:
	mov	x0, x21
	bl	_gpio_open_device
LBB0_15:
	mov	x21, x0
Lloh9:
	adrp	x8, _GPIO_INVALID_HANDLE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _GPIO_INVALID_HANDLE@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_18
; %bb.16:
Lloh12:
	adrp	x0, l_.str.1@PAGE
Lloh13:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_17:
	bl	_perror
	mov	w0, #1
	bl	_exit
LBB0_18:
	cbnz	w28, LBB0_24
; %bb.19:
	add	x28, x19, x23, lsl #3
	cmp	w23, w20
	b.ne	LBB0_21
; %bb.20:
	bl	_usage
LBB0_21:
	and	w8, w27, #0xff
	cmp	w8, #128
	b.eq	LBB0_26
; %bb.22:
	cmp	w8, #129
	b.ne	LBB0_28
; %bb.23:
	ldr	x1, [x28]
	mov	x0, x21
	bl	_get_pinnum_by_name
	b	LBB0_29
LBB0_24:
	mov	x0, x21
	mov	x1, x22
	bl	_dump_pins
LBB0_25:
	mov	x0, x21
	bl	_gpio_close
	mov	w0, #0
	bl	_exit
LBB0_26:
	ldr	x0, [x28]
	add	x1, sp, #20
	bl	_str2int
	mov	x22, x0
	ldr	w8, [sp, #20]
	cbnz	w8, LBB0_34
; %bb.27:
	ldr	x1, [x28]
Lloh14:
	adrp	x0, l_.str.4@PAGE
Lloh15:
	add	x0, x0, l_.str.4@PAGEOFF
	b	LBB0_33
LBB0_28:
	ldr	x0, [x28]
	add	x1, sp, #20
	bl	_str2int
	mov	x22, x0
	ldr	w24, [sp, #20]
	ldr	x1, [x28]
	mov	x0, x21
	bl	_get_pinnum_by_name
	cbnz	w24, LBB0_31
LBB0_29:
	mov	x22, x0
	cmn	w0, #1
	b.ne	LBB0_34
; %bb.30:
	ldr	x1, [x28]
Lloh16:
	adrp	x0, l_.str.3@PAGE
Lloh17:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_33
LBB0_31:
	cmn	w0, #1
	b.eq	LBB0_34
; %bb.32:
	ldr	x1, [x28]
Lloh18:
	adrp	x0, l_.str.2@PAGE
Lloh19:
	add	x0, x0, l_.str.2@PAGEOFF
LBB0_33:
	bl	_fail
LBB0_34:
	sub	w25, w20, w23
	ldr	w8, [sp, #16]                   ; 4-byte Folded Reload
	cbnz	w8, LBB0_43
; %bb.35:
	ldr	w8, [sp, #12]                   ; 4-byte Folded Reload
	cbnz	w8, LBB0_47
; %bb.36:
	cbnz	w26, LBB0_51
; %bb.37:
	cmp	w23, w20
	b.eq	LBB0_39
; %bb.38:
	cmp	w25, #3
	b.lt	LBB0_40
LBB0_39:
	bl	_usage
LBB0_40:
	cmp	w25, #1
	b.ne	LBB0_56
; %bb.41:
	mov	x0, x21
	mov	x1, x22
	bl	_gpio_pin_get
	tbz	w0, #31, LBB0_65
; %bb.42:
Lloh20:
	adrp	x0, l_.str.9@PAGE
Lloh21:
	add	x0, x0, l_.str.9@PAGEOFF
	b	LBB0_17
LBB0_43:
	cmp	w25, #2
	b.eq	LBB0_45
; %bb.44:
	bl	_usage
LBB0_45:
	ldr	x2, [x28, #8]
	mov	x0, x21
	mov	x1, x22
	bl	_gpio_pin_set_name
	tbz	x0, #63, LBB0_64
; %bb.46:
Lloh22:
	adrp	x0, l_.str.5@PAGE
Lloh23:
	add	x0, x0, l_.str.5@PAGEOFF
	b	LBB0_17
LBB0_47:
	cmp	w25, #2
	b.lt	LBB0_49
; %bb.48:
	bl	_usage
LBB0_49:
	mov	x0, x21
	mov	x1, x22
	bl	_gpio_pin_toggle
	tbz	x0, #63, LBB0_25
; %bb.50:
Lloh24:
	adrp	x0, l_.str.6@PAGE
Lloh25:
	add	x0, x0, l_.str.6@PAGEOFF
	b	LBB0_17
LBB0_51:
	cmp	w25, #2
	b.lt	LBB0_61
; %bb.52:
	mov	w24, #0
	add	x8, x19, x23, lsl #3
	add	x23, x8, #8
	sub	x25, x25, #1
Lloh26:
	adrp	x19, l_.str.7@PAGE
Lloh27:
	add	x19, x19, l_.str.7@PAGEOFF
	b	LBB0_54
LBB0_53:                                ;   in Loop: Header=BB0_54 Depth=1
	orr	w24, w20, w24
	add	x23, x23, #8
	subs	x25, x25, #1
	b.eq	LBB0_62
LBB0_54:                                ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x23]
	bl	_str2cap
	mov	x20, x0
	tbz	w0, #31, LBB0_53
; %bb.55:                               ;   in Loop: Header=BB0_54 Depth=1
	ldr	x1, [x23]
	mov	x0, x19
	bl	_fail
	b	LBB0_53
LBB0_56:
	ldr	x0, [x28, #8]
	add	x1, sp, #20
	bl	_str2int
	mov	x19, x0
	ldr	w8, [sp, #20]
	cbz	w8, LBB0_58
; %bb.57:
	cmp	w19, #2
	b.lo	LBB0_59
LBB0_58:
	ldr	x1, [x28, #8]
Lloh28:
	adrp	x0, l_.str.11@PAGE
Lloh29:
	add	x0, x0, l_.str.11@PAGEOFF
	bl	_fail
LBB0_59:
	mov	x0, x21
	mov	x1, x22
	mov	x2, x19
	bl	_gpio_pin_set
	tbz	x0, #63, LBB0_25
; %bb.60:
Lloh30:
	adrp	x0, l_.str.12@PAGE
Lloh31:
	add	x0, x0, l_.str.12@PAGEOFF
	b	LBB0_17
LBB0_61:
	mov	w24, #0
LBB0_62:
	stp	w22, w24, [sp, #24]
	add	x1, sp, #24
	mov	x0, x21
	bl	_gpio_pin_set_flags
	tbz	x0, #63, LBB0_64
; %bb.63:
Lloh32:
	adrp	x0, l_.str.8@PAGE
Lloh33:
	add	x0, x0, l_.str.8@PAGEOFF
	b	LBB0_17
LBB0_64:
	mov	w0, #0
	bl	_exit
LBB0_65:
	mov	x1, x0
Lloh34:
	adrp	x0, l_.str.10@PAGE
Lloh35:
	add	x0, x0, l_.str.10@PAGEOFF
	bl	_printf
	mov	w0, #0
	bl	_exit
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh34, Lloh35
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_4-LBB0_1)>>2
	.byte	(LBB0_11-LBB0_1)>>2
	.byte	(LBB0_11-LBB0_1)>>2
	.byte	(LBB0_11-LBB0_1)>>2
	.byte	(LBB0_11-LBB0_1)>>2
	.byte	(LBB0_11-LBB0_1)>>2
	.byte	(LBB0_11-LBB0_1)>>2
	.byte	(LBB0_11-LBB0_1)>>2
	.byte	(LBB0_11-LBB0_1)>>2
	.byte	(LBB0_11-LBB0_1)>>2
	.byte	(LBB0_11-LBB0_1)>>2
	.byte	(LBB0_11-LBB0_1)>>2
	.byte	(LBB0_11-LBB0_1)>>2
	.byte	(LBB0_11-LBB0_1)>>2
	.byte	(LBB0_11-LBB0_1)>>2
	.byte	(LBB0_11-LBB0_1)>>2
	.byte	(LBB0_11-LBB0_1)>>2
	.byte	(LBB0_11-LBB0_1)>>2
	.byte	(LBB0_11-LBB0_1)>>2
	.byte	(LBB0_11-LBB0_1)>>2
	.byte	(LBB0_11-LBB0_1)>>2
	.byte	(LBB0_2-LBB0_1)>>2
	.byte	(LBB0_11-LBB0_1)>>2
	.byte	(LBB0_11-LBB0_1)>>2
	.byte	(LBB0_1-LBB0_1)>>2
	.byte	(LBB0_11-LBB0_1)>>2
	.byte	(LBB0_11-LBB0_1)>>2
	.byte	(LBB0_11-LBB0_1)>>2
	.byte	(LBB0_11-LBB0_1)>>2
	.byte	(LBB0_11-LBB0_1)>>2
	.byte	(LBB0_5-LBB0_1)>>2
	.byte	(LBB0_11-LBB0_1)>>2
	.byte	(LBB0_6-LBB0_1)>>2
	.byte	(LBB0_11-LBB0_1)>>2
	.byte	(LBB0_7-LBB0_1)>>2
	.byte	(LBB0_11-LBB0_1)>>2
	.byte	(LBB0_11-LBB0_1)>>2
	.byte	(LBB0_11-LBB0_1)>>2
	.byte	(LBB0_9-LBB0_1)>>2
	.byte	(LBB0_11-LBB0_1)>>2
	.byte	(LBB0_8-LBB0_1)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cf:lntvNp"

	.comm	_optarg,8,3                     ; @optarg
	.comm	_optind,8,3                     ; @optind
	.comm	_GPIO_INVALID_HANDLE,8,3        ; @GPIO_INVALID_HANDLE
l_.str.1:                               ; @.str.1
	.asciz	"gpio_open"

l_.str.2:                               ; @.str.2
	.asciz	"%s is also a pin name, use -p or -N\n"

l_.str.3:                               ; @.str.3
	.asciz	"Can't find pin named \"%s\"\n"

l_.str.4:                               ; @.str.4
	.asciz	"Invalid pin number: %s\n"

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

l_.str.6:                               ; @.str.6
	.asciz	"gpio_pin_toggle"

l_.str.7:                               ; @.str.7
	.asciz	"Invalid flag: %s\n"

l_.str.8:                               ; @.str.8
	.asciz	"gpio_pin_set_flags"

l_.str.9:                               ; @.str.9
	.asciz	"gpio_pin_get"

l_.str.10:                              ; @.str.10
	.asciz	"%d\n"

l_.str.11:                              ; @.str.11
	.asciz	"Invalid pin value: %s\n"

l_.str.12:                              ; @.str.12
	.asciz	"gpio_pin_set"

.subsections_via_symbols
