	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movl	%edi, %r15d
	movl	$0, -36(%rbp)
	movq	(%rsi), %rdi
	callq	_setprogname
	movq	_args@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_num_args@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-36(%rbp), %r8
	movl	%r15d, %edx
	movq	%r14, %rcx
	callq	_getarg
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	$1, %edi
	callq	_usage
LBB0_2:
	movq	_help_flag@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_4
## %bb.3:
	xorl	%edi, %edi
	callq	_usage
LBB0_4:
	movq	_version_flag@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_14
## %bb.5:
	movslq	-36(%rbp), %rbx
	subl	%ebx, %r15d
	jne	LBB0_7
## %bb.6:
	movl	$1, %edi
	callq	_usage
LBB0_7:
	movq	_context@GOTPCREL(%rip), %r12
	movq	%r12, %rdi
	callq	_hx509_context_init
	testl	%eax, %eax
	je	LBB0_9
## %bb.8:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	movl	%eax, %edx
	callq	_errx
LBB0_9:
	leaq	(%r14,%rbx,8), %r14
	movq	_stat_file_string@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	testq	%rsi, %rsi
	je	LBB0_11
## %bb.10:
	movl	(%r12), %edi
	callq	_hx509_query_statistic_file
LBB0_11:
	movq	_commands@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%r15d, %esi
	movq	%r14, %rdx
	callq	_sl_command
	movl	%eax, %ebx
	cmpl	$-1, %eax
	jne	LBB0_13
## %bb.12:
	movq	(%r14), %rsi
	leaq	L_.str.1(%rip), %rdi
	callq	_warnx
LBB0_13:
	movq	_context@GOTPCREL(%rip), %rdi
	callq	_hx509_context_free
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	xorl	%edi, %edi
	callq	_print_version
	xorl	%edi, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_args,4,2                       ## @args
	.comm	_num_args,4,2                   ## @num_args
	.comm	_help_flag,8,3                  ## @help_flag
	.comm	_version_flag,8,3               ## @version_flag
	.comm	_context,4,2                    ## @context
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"hx509_context_init failed with %d"

	.comm	_stat_file_string,8,3           ## @stat_file_string
	.comm	_commands,4,2                   ## @commands
L_.str.1:                               ## @.str.1
	.asciz	"unrecognized command: %s"

.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, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x1
	mov	x20, x0
	str	wzr, [sp, #12]
	ldr	x0, [x1]
	bl	_setprogname
Lloh0:
	adrp	x8, _args@GOTPAGE
Lloh1:
	ldr	x8, [x8, _args@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _num_args@GOTPAGE
Lloh4:
	ldr	x8, [x8, _num_args@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	add	x4, sp, #12
	mov	x2, x20
	mov	x3, x19
	bl	_getarg
	cbz	x0, LBB0_2
; %bb.1:
	mov	w0, #1
	bl	_usage
LBB0_2:
Lloh6:
	adrp	x8, _help_flag@GOTPAGE
Lloh7:
	ldr	x8, [x8, _help_flag@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cbz	x8, LBB0_4
; %bb.3:
	mov	w0, #0
	bl	_usage
LBB0_4:
Lloh9:
	adrp	x8, _version_flag@GOTPAGE
Lloh10:
	ldr	x8, [x8, _version_flag@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	cbnz	x8, LBB0_14
; %bb.5:
	ldrsw	x21, [sp, #12]
	subs	w20, w20, w21
	b.ne	LBB0_7
; %bb.6:
	mov	w0, #1
	bl	_usage
LBB0_7:
	add	x19, x19, x21, lsl #3
Lloh12:
	adrp	x21, _context@GOTPAGE
Lloh13:
	ldr	x21, [x21, _context@GOTPAGEOFF]
	mov	x0, x21
	bl	_hx509_context_init
	cbz	w0, LBB0_9
; %bb.8:
	mov	x2, x0
Lloh14:
	adrp	x1, l_.str@PAGE
Lloh15:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_errx
LBB0_9:
Lloh16:
	adrp	x8, _stat_file_string@GOTPAGE
Lloh17:
	ldr	x8, [x8, _stat_file_string@GOTPAGEOFF]
Lloh18:
	ldr	x1, [x8]
	cbz	x1, LBB0_11
; %bb.10:
	ldr	w0, [x21]
	bl	_hx509_query_statistic_file
LBB0_11:
Lloh19:
	adrp	x8, _commands@GOTPAGE
Lloh20:
	ldr	x8, [x8, _commands@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
	mov	x1, x20
	mov	x2, x19
	bl	_sl_command
	mov	x20, x0
	cmn	w0, #1
	b.ne	LBB0_13
; %bb.12:
	ldr	x1, [x19]
Lloh22:
	adrp	x0, l_.str.1@PAGE
Lloh23:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_warnx
LBB0_13:
Lloh24:
	adrp	x0, _context@GOTPAGE
Lloh25:
	ldr	x0, [x0, _context@GOTPAGEOFF]
	bl	_hx509_context_free
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_14:
	mov	x0, #0
	bl	_print_version
	mov	w0, #0
	bl	_exit
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_args,4,2                       ; @args
	.comm	_num_args,4,2                   ; @num_args
	.comm	_help_flag,8,3                  ; @help_flag
	.comm	_version_flag,8,3               ; @version_flag
	.comm	_context,4,2                    ; @context
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"hx509_context_init failed with %d"

	.comm	_stat_file_string,8,3           ; @stat_file_string
	.comm	_commands,4,2                   ; @commands
l_.str.1:                               ; @.str.1
	.asciz	"unrecognized command: %s"

.subsections_via_symbols
