	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movl	%edi, %r14d
	movq	__PATH_DEV_VERIEXEC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_O_WRONLY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_open
	movq	_dev_fd@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	leaq	L_.str(%rip), %rbx
	leaq	LJTI0_0(%rip), %r13
	movq	_Verbose@GOTPCREL(%rip), %r15
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_1:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_optarg@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_Cdir@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r14d, %edi
	movq	%r12, %rsi
	movq	%rbx, %rdx
	callq	_getopt
                                        ## kill: def $eax killed $eax def $rax
	leal	-105(%rax), %ecx
	cmpl	$17, %ecx
	ja	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movslq	(%r13,%rcx,4), %rax
	addq	%r13, %rax
	jmpq	*%rax
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	incl	(%r15)
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$67, %eax
	je	LBB0_1
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$-1, %eax
	jne	LBB0_2
## %bb.7:
	xorl	%eax, %eax
	callq	_getprogname
	movq	_LOG_PID@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_LOG_AUTH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%eax, %edi
	callq	_openlog
	xorl	%eax, %eax
	callq	_ve_trust_init
	testl	%eax, %eax
	jg	LBB0_9
## %bb.8:
	movq	_EX_OSFILE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.11(%rip), %rsi
	xorl	%eax, %eax
	callq	_errx
LBB0_9:
	movq	_optind@GOTPCREL(%rip), %rbx
	movl	(%rbx), %eax
	cmpl	%r14d, %eax
	jge	LBB0_53
## %bb.10:
	movq	_EX_DATAERR@GOTPCREL(%rip), %r13
	leaq	L_.str.12(%rip), %r15
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_12 Depth=1
	movl	(%rbx), %eax
	incl	%eax
	movl	%eax, (%rbx)
	cmpl	%r14d, %eax
	jge	LBB0_53
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	cltq
	movq	(%r12,%rax,8), %rdi
	callq	_veriexec_load
	testq	%rax, %rax
	je	LBB0_11
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=1
	movl	(%r13), %edi
	movslq	(%rbx), %rax
	movq	(%r12,%rax,8), %rdx
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_err
	jmp	LBB0_11
LBB0_14:
	movq	_optarg@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movsbl	(%rdx), %eax
	addl	$-97, %eax
	cmpl	$11, %eax
	ja	LBB0_35
## %bb.15:
	leaq	LJTI0_1(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_16:
	movq	_VERIEXEC_ACTIVE@GOTPCREL(%rip), %rax
	jmp	LBB0_42
LBB0_17:
	movq	_dev_fd@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	testl	%edi, %edi
	jns	LBB0_19
## %bb.18:
	movq	_EX_UNAVAILABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_err
	movl	(%rbx), %edi
LBB0_19:
	movq	_VERIEXEC_GETSTATE@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	leaq	-44(%rbp), %rdx
	callq	_ioctl
	testq	%rax, %rax
	je	LBB0_21
## %bb.20:
	movq	_EX_UNAVAILABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_err
LBB0_21:
	movq	_optarg@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movsbl	(%rdx), %eax
	cmpl	$108, %eax
	je	LBB0_31
## %bb.22:
	cmpl	$101, %eax
	je	LBB0_33
## %bb.23:
	cmpl	$97, %eax
	jne	LBB0_34
## %bb.24:
	movq	_VERIEXEC_STATE_ACTIVE@GOTPCREL(%rip), %rax
	jmp	LBB0_55
LBB0_25:
	movq	_optind@GOTPCREL(%rip), %rbx
	movl	(%rbx), %eax
	xorl	%r15d, %r15d
	cmpl	%r14d, %eax
	jge	LBB0_30
## %bb.26:
	xorl	%r15d, %r15d
	leaq	L_.str.5(%rip), %r13
	jmp	LBB0_28
	.p2align	4, 0x90
LBB0_27:                                ##   in Loop: Header=BB0_28 Depth=1
	movl	(%rbx), %eax
	incl	%eax
	movl	%eax, (%rbx)
	cmpl	%r14d, %eax
	jge	LBB0_30
LBB0_28:                                ## =>This Inner Loop Header: Depth=1
	cltq
	movq	(%r12,%rax,8), %rdi
	callq	_veriexec_check_path
	testl	%eax, %eax
	je	LBB0_27
## %bb.29:                              ##   in Loop: Header=BB0_28 Depth=1
	movslq	(%rbx), %rax
	movq	(%r12,%rax,8), %rsi
	movq	%r13, %rdi
	callq	_warn
	movl	$2, %r15d
	jmp	LBB0_27
LBB0_30:
	movl	%r15d, %edi
	callq	_exit
LBB0_31:
	leaq	L_.str.3(%rip), %rsi
	movq	%rdx, %rdi
	movl	$4, %edx
	callq	_strncmp
	testl	%eax, %eax
	jne	LBB0_54
## %bb.32:
	movq	_VERIEXEC_STATE_LOADED@GOTPCREL(%rip), %rax
	jmp	LBB0_55
LBB0_33:
	movq	_VERIEXEC_STATE_ENFORCE@GOTPCREL(%rip), %rax
	jmp	LBB0_55
LBB0_34:
	movq	_EX_USAGE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.4(%rip), %rsi
	xorl	%eax, %eax
	callq	_errx
                                        ## implicit-def: $rax
	jmp	LBB0_56
LBB0_35:
	movq	_EX_USAGE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.7(%rip), %rsi
	xorl	%eax, %eax
	callq	_errx
                                        ## implicit-def: $r15
	jmp	LBB0_43
LBB0_36:
	leaq	L_.str.6(%rip), %rsi
	movq	%rdx, %rdi
	callq	_strstr
	testl	%eax, %eax
	movq	_VERIEXEC_DEBUG_OFF@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	_VERIEXEC_DEBUG_ON@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	movq	%rcx, %r15
	cmoveq	%r13, %r15
	movq	_optind@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	cmpl	%r14d, %eax
	movq	_dev_fd@GOTPCREL(%rip), %rbx
	jge	LBB0_44
## %bb.37:
	cmpq	%r13, %r15
	jne	LBB0_44
## %bb.38:
	movq	(%r12,%rax,8), %rdi
	movq	%rcx, %r14
	callq	_atoi
	movl	%eax, -44(%rbp)
	testl	%eax, %eax
	cmoveq	%r14, %r13
	movq	%r13, %r15
	jmp	LBB0_44
LBB0_39:
	movq	_VERIEXEC_ENFORCE@GOTPCREL(%rip), %rax
	jmp	LBB0_42
LBB0_40:
	movq	_VERIEXEC_GETSTATE@GOTPCREL(%rip), %rax
	jmp	LBB0_42
LBB0_41:
	movq	_VERIEXEC_LOCK@GOTPCREL(%rip), %rax
LBB0_42:
	movq	(%rax), %r15
LBB0_43:
	movq	_dev_fd@GOTPCREL(%rip), %rbx
LBB0_44:
	movl	(%rbx), %edi
	testl	%edi, %edi
	jns	LBB0_46
## %bb.45:
	movq	_EX_UNAVAILABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_err
	movl	(%rbx), %edi
LBB0_46:
	leaq	-44(%rbp), %rdx
	movq	%r15, %rsi
	callq	_ioctl
	testq	%rax, %rax
	je	LBB0_48
## %bb.47:
	movq	_EX_UNAVAILABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_optarg@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	leaq	L_.str.8(%rip), %rsi
	xorl	%eax, %eax
	callq	_err
LBB0_48:
	movq	_VERIEXEC_DEBUG_ON@GOTPCREL(%rip), %rax
	leaq	L_.str.9(%rip), %rdi
	cmpq	(%rax), %r15
	je	LBB0_52
## %bb.49:
	movq	_VERIEXEC_DEBUG_OFF@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r15
	je	LBB0_52
## %bb.50:
	movq	_VERIEXEC_GETSTATE@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r15
	jne	LBB0_53
## %bb.51:
	leaq	L_.str.10(%rip), %rdi
LBB0_52:
	movl	-44(%rbp), %esi
	callq	_printf
LBB0_53:
	movq	_EX_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_exit
LBB0_54:
	movq	_VERIEXEC_STATE_LOCKED@GOTPCREL(%rip), %rax
LBB0_55:
	movq	(%rax), %rax
LBB0_56:
	movslq	-44(%rbp), %rcx
	xorl	%edi, %edi
	testq	%rcx, %rax
	sete	%dil
	callq	_exit
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_25, LBB0_25-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
LJTI0_0:
	.long	L0_0_set_17
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_4
	.long	L0_0_set_2
	.long	L0_0_set_25
	.long	L0_0_set_2
	.long	L0_0_set_14
.set L0_1_set_16, LBB0_16-LJTI0_1
.set L0_1_set_35, LBB0_35-LJTI0_1
.set L0_1_set_36, LBB0_36-LJTI0_1
.set L0_1_set_39, LBB0_39-LJTI0_1
.set L0_1_set_40, LBB0_40-LJTI0_1
.set L0_1_set_41, LBB0_41-LJTI0_1
LJTI0_1:
	.long	L0_1_set_16
	.long	L0_1_set_35
	.long	L0_1_set_35
	.long	L0_1_set_36
	.long	L0_1_set_39
	.long	L0_1_set_35
	.long	L0_1_set_40
	.long	L0_1_set_35
	.long	L0_1_set_35
	.long	L0_1_set_35
	.long	L0_1_set_35
	.long	L0_1_set_41
	.end_data_region
                                        ## -- End function
	.comm	__PATH_DEV_VERIEXEC,4,2         ## @_PATH_DEV_VERIEXEC
	.comm	_O_WRONLY,4,2                   ## @O_WRONLY
	.comm	_dev_fd,4,2                     ## @dev_fd
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"C:i:x:vz:"

	.comm	_optarg,8,3                     ## @optarg
	.comm	_Cdir,8,3                       ## @Cdir
	.comm	_EX_UNAVAILABLE,4,2             ## @EX_UNAVAILABLE
L_.str.1:                               ## @.str.1
	.asciz	"cannot open veriexec"

	.comm	_VERIEXEC_GETSTATE,8,3          ## @VERIEXEC_GETSTATE
L_.str.2:                               ## @.str.2
	.asciz	"Cannot get veriexec state"

	.comm	_VERIEXEC_STATE_ACTIVE,8,3      ## @VERIEXEC_STATE_ACTIVE
	.comm	_VERIEXEC_STATE_ENFORCE,8,3     ## @VERIEXEC_STATE_ENFORCE
L_.str.3:                               ## @.str.3
	.asciz	"lock"

	.comm	_VERIEXEC_STATE_LOCKED,8,3      ## @VERIEXEC_STATE_LOCKED
	.comm	_VERIEXEC_STATE_LOADED,8,3      ## @VERIEXEC_STATE_LOADED
	.comm	_EX_USAGE,4,2                   ## @EX_USAGE
L_.str.4:                               ## @.str.4
	.asciz	"unknown state %s"

	.comm	_Verbose,4,2                    ## @Verbose
	.comm	_optind,4,2                     ## @optind
L_.str.5:                               ## @.str.5
	.asciz	"%s"

	.comm	_VERIEXEC_ACTIVE,8,3            ## @VERIEXEC_ACTIVE
L_.str.6:                               ## @.str.6
	.asciz	"off"

	.comm	_VERIEXEC_DEBUG_OFF,8,3         ## @VERIEXEC_DEBUG_OFF
	.comm	_VERIEXEC_DEBUG_ON,8,3          ## @VERIEXEC_DEBUG_ON
	.comm	_VERIEXEC_ENFORCE,8,3           ## @VERIEXEC_ENFORCE
	.comm	_VERIEXEC_LOCK,8,3              ## @VERIEXEC_LOCK
L_.str.7:                               ## @.str.7
	.asciz	"unknown command %s"

L_.str.8:                               ## @.str.8
	.asciz	"cannot %s veriexec"

L_.str.9:                               ## @.str.9
	.asciz	"debug is: %d\n"

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

	.comm	_EX_OK,4,2                      ## @EX_OK
	.comm	_LOG_PID,4,2                    ## @LOG_PID
	.comm	_LOG_AUTH,4,2                   ## @LOG_AUTH
	.comm	_EX_OSFILE,4,2                  ## @EX_OSFILE
L_.str.11:                              ## @.str.11
	.asciz	"cannot initialize trust store"

	.comm	_EX_DATAERR,4,2                 ## @EX_DATAERR
L_.str.12:                              ## @.str.12
	.asciz	"cannot load %s"

	.comm	_VERIEXEC_GETVERSION,8,3        ## @VERIEXEC_GETVERSION
	.comm	_VeriexecVersion,4,2            ## @VeriexecVersion
.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, #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, x1
	mov	x20, x0
Lloh0:
	adrp	x8, __PATH_DEV_VERIEXEC@GOTPAGE
Lloh1:
	ldr	x8, [x8, __PATH_DEV_VERIEXEC@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _O_WRONLY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _O_WRONLY@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_open
Lloh6:
	adrp	x23, _dev_fd@GOTPAGE
Lloh7:
	ldr	x23, [x23, _dev_fd@GOTPAGEOFF]
	str	w0, [x23]
Lloh8:
	adrp	x21, l_.str@PAGE
Lloh9:
	add	x21, x21, l_.str@PAGEOFF
Lloh10:
	adrp	x22, _optarg@GOTPAGE
Lloh11:
	ldr	x22, [x22, _optarg@GOTPAGEOFF]
Lloh12:
	adrp	x24, _Cdir@GOTPAGE
Lloh13:
	ldr	x24, [x24, _Cdir@GOTPAGEOFF]
Lloh14:
	adrp	x25, lJTI0_0@PAGE
Lloh15:
	add	x25, x25, lJTI0_0@PAGEOFF
Lloh16:
	adrp	x26, _Verbose@GOTPAGE
Lloh17:
	ldr	x26, [x26, _Verbose@GOTPAGEOFF]
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x22]
	str	x8, [x24]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	bl	_getopt
	sub	w8, w0, #105
	cmp	w8, #17
	b.hi	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	adr	x9, LBB0_2
	ldrb	w10, [x25, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_4:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x26]
	add	w8, w8, #1
	str	w8, [x26]
	b	LBB0_2
LBB0_5:                                 ;   in Loop: Header=BB0_2 Depth=1
	cmp	w0, #67
	b.eq	LBB0_1
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	cmn	w0, #1
	b.ne	LBB0_2
; %bb.7:
	bl	_getprogname
Lloh18:
	adrp	x8, _LOG_PID@GOTPAGE
Lloh19:
	ldr	x8, [x8, _LOG_PID@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
Lloh21:
	adrp	x8, _LOG_AUTH@GOTPAGE
Lloh22:
	ldr	x8, [x8, _LOG_AUTH@GOTPAGEOFF]
Lloh23:
	ldr	w2, [x8]
	bl	_openlog
	bl	_ve_trust_init
	cmp	w0, #0
	b.gt	LBB0_9
; %bb.8:
Lloh24:
	adrp	x8, _EX_OSFILE@GOTPAGE
Lloh25:
	ldr	x8, [x8, _EX_OSFILE@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
Lloh27:
	adrp	x1, l_.str.11@PAGE
Lloh28:
	add	x1, x1, l_.str.11@PAGEOFF
	bl	_errx
LBB0_9:
Lloh29:
	adrp	x22, _optind@GOTPAGE
Lloh30:
	ldr	x22, [x22, _optind@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w8, w20
	b.ge	LBB0_52
; %bb.10:
Lloh31:
	adrp	x23, _EX_DATAERR@GOTPAGE
Lloh32:
	ldr	x23, [x23, _EX_DATAERR@GOTPAGEOFF]
Lloh33:
	adrp	x21, l_.str.12@PAGE
Lloh34:
	add	x21, x21, l_.str.12@PAGEOFF
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=1
	ldr	w8, [x22]
	add	w8, w8, #1
	str	w8, [x22]
	cmp	w8, w20
	b.ge	LBB0_52
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x19, w8, sxtw #3]
	bl	_veriexec_load
	cbz	x0, LBB0_11
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	w0, [x23]
	ldrsw	x8, [x22]
	ldr	x8, [x19, x8, lsl #3]
	str	x8, [sp]
	mov	x1, x21
	bl	_err
	b	LBB0_11
LBB0_14:
	ldr	x0, [x22]
	ldrsb	w8, [x0]
	sub	w8, w8, #97
Lloh35:
	adrp	x24, _VERIEXEC_DEBUG_ON@GOTPAGE
Lloh36:
	ldr	x24, [x24, _VERIEXEC_DEBUG_ON@GOTPAGEOFF]
Lloh37:
	adrp	x25, _VERIEXEC_DEBUG_OFF@GOTPAGE
Lloh38:
	ldr	x25, [x25, _VERIEXEC_DEBUG_OFF@GOTPAGEOFF]
	cmp	w8, #11
	b.hi	LBB0_36
; %bb.15:
Lloh39:
	adrp	x9, lJTI0_1@PAGE
Lloh40:
	add	x9, x9, lJTI0_1@PAGEOFF
	adr	x10, LBB0_16
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_16:
Lloh41:
	adrp	x8, _VERIEXEC_ACTIVE@GOTPAGE
Lloh42:
	ldr	x8, [x8, _VERIEXEC_ACTIVE@GOTPAGEOFF]
	b	LBB0_42
LBB0_17:
	ldr	w0, [x23]
	tbz	w0, #31, LBB0_19
; %bb.18:
Lloh43:
	adrp	x8, _EX_UNAVAILABLE@GOTPAGE
Lloh44:
	ldr	x8, [x8, _EX_UNAVAILABLE@GOTPAGEOFF]
Lloh45:
	ldr	w0, [x8]
Lloh46:
	adrp	x1, l_.str.1@PAGE
Lloh47:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_err
	ldr	w0, [x23]
LBB0_19:
Lloh48:
	adrp	x8, _VERIEXEC_GETSTATE@GOTPAGE
Lloh49:
	ldr	x8, [x8, _VERIEXEC_GETSTATE@GOTPAGEOFF]
Lloh50:
	ldr	x1, [x8]
	add	x2, sp, #12
	bl	_ioctl
	cbz	x0, LBB0_21
; %bb.20:
Lloh51:
	adrp	x8, _EX_UNAVAILABLE@GOTPAGE
Lloh52:
	ldr	x8, [x8, _EX_UNAVAILABLE@GOTPAGEOFF]
Lloh53:
	ldr	w0, [x8]
Lloh54:
	adrp	x1, l_.str.2@PAGE
Lloh55:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_err
LBB0_21:
	ldr	x0, [x22]
	ldrsb	w8, [x0]
	cmp	w8, #108
	b.eq	LBB0_32
; %bb.22:
	cmp	w8, #101
	b.eq	LBB0_33
; %bb.23:
	cmp	w8, #97
	b.ne	LBB0_34
; %bb.24:
Lloh56:
	adrp	x8, _VERIEXEC_STATE_ACTIVE@GOTPAGE
Lloh57:
	ldr	x8, [x8, _VERIEXEC_STATE_ACTIVE@GOTPAGEOFF]
Lloh58:
	ldr	x8, [x8]
	b	LBB0_35
LBB0_25:
Lloh59:
	adrp	x23, _optind@GOTPAGE
Lloh60:
	ldr	x23, [x23, _optind@GOTPAGEOFF]
	ldr	w8, [x23]
	cmp	w8, w20
	b.ge	LBB0_30
; %bb.26:
	mov	w21, #0
Lloh61:
	adrp	x22, l_.str.5@PAGE
Lloh62:
	add	x22, x22, l_.str.5@PAGEOFF
	b	LBB0_28
LBB0_27:                                ;   in Loop: Header=BB0_28 Depth=1
	ldr	w8, [x23]
	add	w8, w8, #1
	str	w8, [x23]
	cmp	w8, w20
	b.ge	LBB0_31
LBB0_28:                                ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x19, w8, sxtw #3]
	bl	_veriexec_check_path
	cbz	w0, LBB0_27
; %bb.29:                               ;   in Loop: Header=BB0_28 Depth=1
	ldrsw	x8, [x23]
	ldr	x1, [x19, x8, lsl #3]
	mov	x0, x22
	bl	_warn
	mov	w21, #2
	b	LBB0_27
LBB0_30:
	mov	w0, #0
	bl	_exit
LBB0_31:
	mov	x0, x21
	bl	_exit
LBB0_32:
Lloh63:
	adrp	x1, l_.str.3@PAGE
Lloh64:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	w2, #4
	bl	_strncmp
Lloh65:
	adrp	x8, _VERIEXEC_STATE_LOCKED@GOTPAGE
Lloh66:
	ldr	x8, [x8, _VERIEXEC_STATE_LOCKED@GOTPAGEOFF]
Lloh67:
	adrp	x9, _VERIEXEC_STATE_LOADED@GOTPAGE
Lloh68:
	ldr	x9, [x9, _VERIEXEC_STATE_LOADED@GOTPAGEOFF]
	cmp	w0, #0
	csel	x8, x9, x8, eq
	ldr	x8, [x8]
	b	LBB0_35
LBB0_33:
Lloh69:
	adrp	x8, _VERIEXEC_STATE_ENFORCE@GOTPAGE
Lloh70:
	ldr	x8, [x8, _VERIEXEC_STATE_ENFORCE@GOTPAGEOFF]
Lloh71:
	ldr	x8, [x8]
	b	LBB0_35
LBB0_34:
Lloh72:
	adrp	x8, _EX_USAGE@GOTPAGE
Lloh73:
	ldr	x8, [x8, _EX_USAGE@GOTPAGEOFF]
Lloh74:
	ldr	w8, [x8]
	str	x0, [sp]
Lloh75:
	adrp	x1, l_.str.4@PAGE
Lloh76:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x8
	bl	_errx
                                        ; implicit-def: $x8
LBB0_35:
	ldrsw	x9, [sp, #12]
	tst	x8, x9
	cset	w0, eq
	bl	_exit
LBB0_36:
Lloh77:
	adrp	x8, _EX_USAGE@GOTPAGE
Lloh78:
	ldr	x8, [x8, _EX_USAGE@GOTPAGEOFF]
Lloh79:
	ldr	w8, [x8]
	str	x0, [sp]
Lloh80:
	adrp	x1, l_.str.7@PAGE
Lloh81:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x8
	bl	_errx
                                        ; implicit-def: $x21
	b	LBB0_43
LBB0_37:
Lloh82:
	adrp	x8, _VERIEXEC_ENFORCE@GOTPAGE
Lloh83:
	ldr	x8, [x8, _VERIEXEC_ENFORCE@GOTPAGEOFF]
	b	LBB0_42
LBB0_38:
Lloh84:
	adrp	x1, l_.str.6@PAGE
Lloh85:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_strstr
	ldr	x26, [x25]
	ldr	x27, [x24]
	cmp	w0, #0
	csel	x21, x27, x26, eq
Lloh86:
	adrp	x8, _optind@GOTPAGE
Lloh87:
	ldr	x8, [x8, _optind@GOTPAGEOFF]
Lloh88:
	ldrsw	x8, [x8]
	cmp	w8, w20
	ccmp	x21, x27, #0, lt
	b.ne	LBB0_43
; %bb.39:
	ldr	x0, [x19, x8, lsl #3]
	bl	_atoi
	str	w0, [sp, #12]
	cmp	w0, #0
	csel	x21, x26, x27, eq
	b	LBB0_43
LBB0_40:
Lloh89:
	adrp	x8, _VERIEXEC_GETSTATE@GOTPAGE
Lloh90:
	ldr	x8, [x8, _VERIEXEC_GETSTATE@GOTPAGEOFF]
	b	LBB0_42
LBB0_41:
Lloh91:
	adrp	x8, _VERIEXEC_LOCK@GOTPAGE
Lloh92:
	ldr	x8, [x8, _VERIEXEC_LOCK@GOTPAGEOFF]
LBB0_42:
	ldr	x21, [x8]
LBB0_43:
	ldr	w0, [x23]
Lloh93:
	adrp	x19, _EX_UNAVAILABLE@GOTPAGE
Lloh94:
	ldr	x19, [x19, _EX_UNAVAILABLE@GOTPAGEOFF]
	tbz	w0, #31, LBB0_45
; %bb.44:
	ldr	w0, [x19]
Lloh95:
	adrp	x1, l_.str.1@PAGE
Lloh96:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_err
	ldr	w0, [x23]
LBB0_45:
	add	x2, sp, #12
	mov	x1, x21
	bl	_ioctl
	cbz	x0, LBB0_47
; %bb.46:
	ldr	w0, [x19]
	ldr	x8, [x22]
	str	x8, [sp]
Lloh97:
	adrp	x1, l_.str.8@PAGE
Lloh98:
	add	x1, x1, l_.str.8@PAGEOFF
	bl	_err
LBB0_47:
	ldr	x8, [x24]
	ldr	x9, [x25]
	cmp	x21, x8
	ccmp	x21, x9, #4, ne
	b.ne	LBB0_49
; %bb.48:
Lloh99:
	adrp	x0, l_.str.9@PAGE
Lloh100:
	add	x0, x0, l_.str.9@PAGEOFF
	b	LBB0_51
LBB0_49:
Lloh101:
	adrp	x8, _VERIEXEC_GETSTATE@GOTPAGE
Lloh102:
	ldr	x8, [x8, _VERIEXEC_GETSTATE@GOTPAGEOFF]
Lloh103:
	ldr	x8, [x8]
	cmp	x21, x8
	b.ne	LBB0_52
; %bb.50:
Lloh104:
	adrp	x0, l_.str.10@PAGE
Lloh105:
	add	x0, x0, l_.str.10@PAGEOFF
LBB0_51:
	ldr	w1, [sp, #12]
	bl	_printf
LBB0_52:
Lloh106:
	adrp	x8, _EX_OK@GOTPAGE
Lloh107:
	ldr	x8, [x8, _EX_OK@GOTPAGEOFF]
Lloh108:
	ldr	w0, [x8]
	bl	_exit
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpAdd	Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGot	Lloh59, Lloh60
	.loh AdrpAdd	Lloh61, Lloh62
	.loh AdrpLdrGot	Lloh67, Lloh68
	.loh AdrpLdrGot	Lloh65, Lloh66
	.loh AdrpAdd	Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpAdd	Lloh75, Lloh76
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpAdd	Lloh80, Lloh81
	.loh AdrpLdrGotLdr	Lloh77, Lloh78, Lloh79
	.loh AdrpLdrGot	Lloh82, Lloh83
	.loh AdrpLdrGotLdr	Lloh86, Lloh87, Lloh88
	.loh AdrpAdd	Lloh84, Lloh85
	.loh AdrpLdrGot	Lloh89, Lloh90
	.loh AdrpLdrGot	Lloh91, Lloh92
	.loh AdrpLdrGot	Lloh93, Lloh94
	.loh AdrpAdd	Lloh95, Lloh96
	.loh AdrpAdd	Lloh97, Lloh98
	.loh AdrpAdd	Lloh99, Lloh100
	.loh AdrpLdrGotLdr	Lloh101, Lloh102, Lloh103
	.loh AdrpAdd	Lloh104, Lloh105
	.loh AdrpLdrGotLdr	Lloh106, Lloh107, Lloh108
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_17-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_25-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_14-LBB0_2)>>2
lJTI0_1:
	.byte	(LBB0_16-LBB0_16)>>2
	.byte	(LBB0_36-LBB0_16)>>2
	.byte	(LBB0_36-LBB0_16)>>2
	.byte	(LBB0_38-LBB0_16)>>2
	.byte	(LBB0_37-LBB0_16)>>2
	.byte	(LBB0_36-LBB0_16)>>2
	.byte	(LBB0_40-LBB0_16)>>2
	.byte	(LBB0_36-LBB0_16)>>2
	.byte	(LBB0_36-LBB0_16)>>2
	.byte	(LBB0_36-LBB0_16)>>2
	.byte	(LBB0_36-LBB0_16)>>2
	.byte	(LBB0_41-LBB0_16)>>2
                                        ; -- End function
	.comm	__PATH_DEV_VERIEXEC,4,2         ; @_PATH_DEV_VERIEXEC
	.comm	_O_WRONLY,4,2                   ; @O_WRONLY
	.comm	_dev_fd,4,2                     ; @dev_fd
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"C:i:x:vz:"

	.comm	_optarg,8,3                     ; @optarg
	.comm	_Cdir,8,3                       ; @Cdir
	.comm	_EX_UNAVAILABLE,4,2             ; @EX_UNAVAILABLE
l_.str.1:                               ; @.str.1
	.asciz	"cannot open veriexec"

	.comm	_VERIEXEC_GETSTATE,8,3          ; @VERIEXEC_GETSTATE
l_.str.2:                               ; @.str.2
	.asciz	"Cannot get veriexec state"

	.comm	_VERIEXEC_STATE_ACTIVE,8,3      ; @VERIEXEC_STATE_ACTIVE
	.comm	_VERIEXEC_STATE_ENFORCE,8,3     ; @VERIEXEC_STATE_ENFORCE
l_.str.3:                               ; @.str.3
	.asciz	"lock"

	.comm	_VERIEXEC_STATE_LOCKED,8,3      ; @VERIEXEC_STATE_LOCKED
	.comm	_VERIEXEC_STATE_LOADED,8,3      ; @VERIEXEC_STATE_LOADED
	.comm	_EX_USAGE,4,2                   ; @EX_USAGE
l_.str.4:                               ; @.str.4
	.asciz	"unknown state %s"

	.comm	_Verbose,4,2                    ; @Verbose
	.comm	_optind,4,2                     ; @optind
l_.str.5:                               ; @.str.5
	.asciz	"%s"

	.comm	_VERIEXEC_ACTIVE,8,3            ; @VERIEXEC_ACTIVE
l_.str.6:                               ; @.str.6
	.asciz	"off"

	.comm	_VERIEXEC_DEBUG_OFF,8,3         ; @VERIEXEC_DEBUG_OFF
	.comm	_VERIEXEC_DEBUG_ON,8,3          ; @VERIEXEC_DEBUG_ON
	.comm	_VERIEXEC_ENFORCE,8,3           ; @VERIEXEC_ENFORCE
	.comm	_VERIEXEC_LOCK,8,3              ; @VERIEXEC_LOCK
l_.str.7:                               ; @.str.7
	.asciz	"unknown command %s"

l_.str.8:                               ; @.str.8
	.asciz	"cannot %s veriexec"

l_.str.9:                               ; @.str.9
	.asciz	"debug is: %d\n"

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

	.comm	_EX_OK,4,2                      ; @EX_OK
	.comm	_LOG_PID,4,2                    ; @LOG_PID
	.comm	_LOG_AUTH,4,2                   ; @LOG_AUTH
	.comm	_EX_OSFILE,4,2                  ; @EX_OSFILE
l_.str.11:                              ; @.str.11
	.asciz	"cannot initialize trust store"

	.comm	_EX_DATAERR,4,2                 ; @EX_DATAERR
l_.str.12:                              ; @.str.12
	.asciz	"cannot load %s"

	.comm	_VERIEXEC_GETVERSION,8,3        ; @VERIEXEC_GETVERSION
	.comm	_VeriexecVersion,4,2            ; @VeriexecVersion
.subsections_via_symbols
