	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movl	%edi, %r15d
	leaq	-40(%rbp), %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_memset
	movq	(%r14), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_lafe_setprogname
	movq	%r14, -40(%rbp)
	movl	%r15d, -32(%rbp)
	movq	_stdout@GOTPCREL(%rip), %r14
	movq	_stderr@GOTPCREL(%rip), %r15
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
	xorl	%eax, %eax
	callq	_version
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_bsdcat_getopt
	cmpl	$104, %eax
	je	LBB0_5
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$128, %eax
	je	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$-1, %eax
	je	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	(%r15), %edi
	movl	$1, %esi
	callq	_usage
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	(%r14), %edi
	xorl	%esi, %esi
	callq	_usage
	jmp	LBB0_1
LBB0_7:
	xorl	%eax, %eax
	callq	_bsdcat_next
	movq	-40(%rbp), %rax
	cmpq	$0, (%rax)
	jne	LBB0_8
## %bb.12:
	leaq	L_.str.1(%rip), %rax
	movq	_bsdcat_current_path@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	xorl	%edi, %edi
	callq	_bsdcat_read_to_stdout
	jmp	LBB0_11
LBB0_8:
	movq	_bsdcat_current_path@GOTPCREL(%rip), %rbx
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	leaq	8(%rax), %rcx
	movq	%rcx, -40(%rbp)
	movq	(%rax), %rdi
	movq	%rdi, (%rbx)
	callq	_bsdcat_read_to_stdout
	xorl	%eax, %eax
	callq	_bsdcat_next
	movq	-40(%rbp), %rax
	cmpq	$0, (%rax)
	jne	LBB0_9
## %bb.10:
	movq	_a@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_archive_read_free
LBB0_11:
	movq	_exit_status@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"bsdcat"

	.comm	_stdout,4,2                     ## @stdout
	.comm	_stderr,4,2                     ## @stderr
L_.str.1:                               ## @.str.1
	.asciz	"<stdin>"

	.comm	_bsdcat_current_path,8,3        ## @bsdcat_current_path
	.comm	_a,4,2                          ## @a
	.comm	_exit_status,4,2                ## @exit_status
.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, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
	mov	x0, sp
	mov	w1, #0
	mov	w2, #16
	bl	_memset
	ldr	x0, [x19]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_lafe_setprogname
	str	x19, [sp]
	str	w20, [sp, #8]
Lloh2:
	adrp	x19, _stdout@GOTPAGE
Lloh3:
	ldr	x19, [x19, _stdout@GOTPAGEOFF]
Lloh4:
	adrp	x20, _stderr@GOTPAGE
Lloh5:
	ldr	x20, [x20, _stderr@GOTPAGEOFF]
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	bl	_version
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, sp
	bl	_bsdcat_getopt
	cmp	w0, #104
	b.eq	LBB0_6
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	w0, #128
	b.eq	LBB0_1
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	cmn	w0, #1
	b.eq	LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [x20]
	mov	w1, #1
	bl	_usage
	b	LBB0_2
LBB0_6:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [x19]
	mov	w1, #0
	bl	_usage
	b	LBB0_2
LBB0_7:
	bl	_bsdcat_next
	ldr	x8, [sp]
	ldr	x9, [x8]
	cbnz	x9, LBB0_9
; %bb.8:
Lloh6:
	adrp	x8, _bsdcat_current_path@GOTPAGE
Lloh7:
	ldr	x8, [x8, _bsdcat_current_path@GOTPAGEOFF]
Lloh8:
	adrp	x9, l_.str.1@PAGE
Lloh9:
	add	x9, x9, l_.str.1@PAGEOFF
Lloh10:
	str	x9, [x8]
	mov	x0, #0
	bl	_bsdcat_read_to_stdout
	b	LBB0_12
LBB0_9:
Lloh11:
	adrp	x19, _bsdcat_current_path@GOTPAGE
Lloh12:
	ldr	x19, [x19, _bsdcat_current_path@GOTPAGEOFF]
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	add	x9, x8, #8
	str	x9, [sp]
	ldr	x0, [x8]
	str	x0, [x19]
	bl	_bsdcat_read_to_stdout
	bl	_bsdcat_next
	ldr	x8, [sp]
	ldr	x9, [x8]
	cbnz	x9, LBB0_10
; %bb.11:
Lloh13:
	adrp	x8, _a@GOTPAGE
Lloh14:
	ldr	x8, [x8, _a@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	bl	_archive_read_free
LBB0_12:
Lloh16:
	adrp	x8, _exit_status@GOTPAGE
Lloh17:
	ldr	x8, [x8, _exit_status@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
	bl	_exit
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotStr	Lloh6, Lloh7, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"bsdcat"

	.comm	_stdout,4,2                     ; @stdout
	.comm	_stderr,4,2                     ; @stderr
l_.str.1:                               ; @.str.1
	.asciz	"<stdin>"

	.comm	_bsdcat_current_path,8,3        ; @bsdcat_current_path
	.comm	_a,4,2                          ; @a
	.comm	_exit_status,4,2                ; @exit_status
.subsections_via_symbols
