	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movl	%edi, %ebx
	movq	___progname@GOTPCREL(%rip), %r15
	cmpq	$0, (%r15)
	jne	LBB0_6
## %bb.1:
	movq	(%r14), %rdi
	movl	$47, %esi
	callq	_strrchr
	movq	%rax, (%r15)
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	cmpb	$0, 1(%rax)
	je	LBB0_4
## %bb.3:
	incq	%rax
	jmp	LBB0_5
LBB0_4:
	movq	(%r14), %rax
LBB0_5:
	movq	%rax, (%r15)
	movq	%rax, %rdi
	callq	_strdup
	movq	%rax, (%r15)
	testq	%rax, %rax
	jne	LBB0_6
## %bb.22:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movl	$1, %edi
	callq	_exit
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	_verbose_mode@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
	movq	_quiet_mode@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	leaq	L_.str.1(%rip), %rdx
	movl	%ebx, %edi
	movq	%r14, %rsi
	callq	_getopt
	cmpl	$112, %eax
	jle	LBB0_7
## %bb.10:                              ##   in Loop: Header=BB0_6 Depth=1
	cmpl	$113, %eax
	je	LBB0_14
## %bb.11:                              ##   in Loop: Header=BB0_6 Depth=1
	cmpl	$118, %eax
	jne	LBB0_9
## %bb.12:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	_verbose_mode@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	movq	_quiet_mode@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_6 Depth=1
	cmpl	$100, %eax
	jne	LBB0_8
## %bb.13:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	_optarg@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_data_dir@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	jmp	LBB0_6
LBB0_8:
	cmpl	$-1, %eax
	jne	LBB0_9
## %bb.15:
	movq	_stdout@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	__IONBF@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%esi, %esi
	xorl	%ecx, %ecx
	callq	_setvbuf
	movq	_quiet_mode@GOTPCREL(%rip), %rbx
	cmpl	$0, (%rbx)
	jne	LBB0_17
## %bb.16:
	movq	(%r15), %rsi
	leaq	L_.str.4(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
LBB0_17:
	movq	_verbose_mode@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_19
## %bb.18:
	movl	$10, %edi
	callq	_putchar
LBB0_19:
	xorl	%eax, %eax
	callq	_tests
	cmpl	$0, (%rbx)
	jne	LBB0_21
## %bb.20:
	movq	_test_number@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.6(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
LBB0_21:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movq	_stderr@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movl	(%rbx), %edi
	movq	(%r15), %rdx
	leaq	L_.str.3(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movl	$1, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	___progname,8,3                 ## @__progname
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"strdup failed\n"

L_.str.1:                               ## @.str.1
	.asciz	"vqd:"

	.comm	_optarg,4,2                     ## @optarg
	.comm	_data_dir,4,2                   ## @data_dir
	.comm	_verbose_mode,4,2               ## @verbose_mode
	.comm	_quiet_mode,4,2                 ## @quiet_mode
L_.str.2:                               ## @.str.2
	.asciz	"Unrecognised command line option\n"

L_.str.3:                               ## @.str.3
	.asciz	"Usage: %s [-v]\n"

	.comm	_stdout,4,2                     ## @stdout
	.comm	__IONBF,4,2                     ## @_IONBF
L_.str.4:                               ## @.str.4
	.asciz	"%s: "

L_.str.6:                               ## @.str.6
	.asciz	" %u tests ok\n"

	.comm	_test_number,4,2                ## @test_number
.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
Lloh0:
	adrp	x21, ___progname@GOTPAGE
Lloh1:
	ldr	x21, [x21, ___progname@GOTPAGEOFF]
	ldr	x8, [x21]
	cbnz	x8, LBB0_7
; %bb.1:
	ldr	x0, [x19]
	mov	w1, #47
	bl	_strrchr
	str	x0, [x21]
	cbz	x0, LBB0_3
; %bb.2:
	ldrb	w8, [x0, #1]!
	cbnz	w8, LBB0_4
LBB0_3:
	ldr	x0, [x19]
LBB0_4:
	str	x0, [x21]
	bl	_strdup
	str	x0, [x21]
	cbnz	x0, LBB0_7
; %bb.5:
Lloh2:
	adrp	x8, _stderr@GOTPAGE
Lloh3:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_22
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
Lloh7:
	adrp	x8, _verbose_mode@GOTPAGE
Lloh8:
	ldr	x8, [x8, _verbose_mode@GOTPAGEOFF]
Lloh9:
	str	wzr, [x8]
Lloh10:
	adrp	x8, _quiet_mode@GOTPAGE
Lloh11:
	ldr	x8, [x8, _quiet_mode@GOTPAGEOFF]
	mov	w9, #1
Lloh12:
	str	w9, [x8]
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
Lloh13:
	adrp	x2, l_.str.1@PAGE
Lloh14:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	x1, x19
	bl	_getopt
	cmp	w0, #112
	b.le	LBB0_11
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	cmp	w0, #113
	b.eq	LBB0_6
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	cmp	w0, #118
	b.ne	LBB0_21
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=1
Lloh15:
	adrp	x8, _verbose_mode@GOTPAGE
Lloh16:
	ldr	x8, [x8, _verbose_mode@GOTPAGEOFF]
	mov	w9, #1
Lloh17:
	str	w9, [x8]
Lloh18:
	adrp	x8, _quiet_mode@GOTPAGE
Lloh19:
	ldr	x8, [x8, _quiet_mode@GOTPAGEOFF]
Lloh20:
	str	wzr, [x8]
	b	LBB0_7
LBB0_11:                                ;   in Loop: Header=BB0_7 Depth=1
	cmp	w0, #100
	b.ne	LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_7 Depth=1
Lloh21:
	adrp	x8, _optarg@GOTPAGE
Lloh22:
	ldr	x8, [x8, _optarg@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
Lloh24:
	adrp	x9, _data_dir@GOTPAGE
Lloh25:
	ldr	x9, [x9, _data_dir@GOTPAGEOFF]
Lloh26:
	str	w8, [x9]
	b	LBB0_7
LBB0_13:
	cmn	w0, #1
	b.ne	LBB0_21
; %bb.14:
Lloh27:
	adrp	x8, _stdout@GOTPAGE
Lloh28:
	ldr	x8, [x8, _stdout@GOTPAGEOFF]
Lloh29:
	ldr	w0, [x8]
Lloh30:
	adrp	x8, __IONBF@GOTPAGE
Lloh31:
	ldr	x8, [x8, __IONBF@GOTPAGEOFF]
Lloh32:
	ldr	w2, [x8]
	mov	x1, #0
	mov	w3, #0
	bl	_setvbuf
Lloh33:
	adrp	x19, _quiet_mode@GOTPAGE
Lloh34:
	ldr	x19, [x19, _quiet_mode@GOTPAGEOFF]
	ldr	w8, [x19]
	cbnz	w8, LBB0_16
; %bb.15:
	ldr	x8, [x21]
	str	x8, [sp]
Lloh35:
	adrp	x0, l_.str.4@PAGE
Lloh36:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_printf
LBB0_16:
Lloh37:
	adrp	x8, _verbose_mode@GOTPAGE
Lloh38:
	ldr	x8, [x8, _verbose_mode@GOTPAGEOFF]
Lloh39:
	ldr	w8, [x8]
	cbz	w8, LBB0_18
; %bb.17:
	mov	w0, #10
	bl	_putchar
LBB0_18:
	bl	_tests
	ldr	w8, [x19]
	cbnz	w8, LBB0_20
; %bb.19:
Lloh40:
	adrp	x8, _test_number@GOTPAGE
Lloh41:
	ldr	x8, [x8, _test_number@GOTPAGEOFF]
Lloh42:
	ldr	w8, [x8]
	str	x8, [sp]
Lloh43:
	adrp	x0, l_.str.6@PAGE
Lloh44:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_printf
LBB0_20:
	mov	w0, #0
	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_21:
Lloh45:
	adrp	x19, _stderr@GOTPAGE
Lloh46:
	ldr	x19, [x19, _stderr@GOTPAGEOFF]
	ldr	w0, [x19]
Lloh47:
	adrp	x1, l_.str.2@PAGE
Lloh48:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_fprintf
	ldr	w0, [x19]
	ldr	x8, [x21]
	str	x8, [sp]
Lloh49:
	adrp	x1, l_.str.3@PAGE
Lloh50:
	add	x1, x1, l_.str.3@PAGEOFF
LBB0_22:
	bl	_fprintf
	mov	w0, #1
	bl	_exit
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotStr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotStr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotStr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotStr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotStr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpAdd	Lloh49, Lloh50
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpLdrGot	Lloh45, Lloh46
	.cfi_endproc
                                        ; -- End function
	.comm	___progname,8,3                 ; @__progname
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"strdup failed\n"

l_.str.1:                               ; @.str.1
	.asciz	"vqd:"

	.comm	_optarg,4,2                     ; @optarg
	.comm	_data_dir,4,2                   ; @data_dir
	.comm	_verbose_mode,4,2               ; @verbose_mode
	.comm	_quiet_mode,4,2                 ; @quiet_mode
l_.str.2:                               ; @.str.2
	.asciz	"Unrecognised command line option\n"

l_.str.3:                               ; @.str.3
	.asciz	"Usage: %s [-v]\n"

	.comm	_stdout,4,2                     ; @stdout
	.comm	__IONBF,4,2                     ; @_IONBF
l_.str.4:                               ; @.str.4
	.asciz	"%s: "

l_.str.6:                               ; @.str.6
	.asciz	" %u tests ok\n"

	.comm	_test_number,4,2                ; @test_number
.subsections_via_symbols
