	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bsdcat_getopt                  ## -- Begin function bsdcat_getopt
	.p2align	4, 0x90
_bsdcat_getopt:                         ## @bsdcat_getopt
	.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	%rdi, %r12
	movl	8(%rdi), %eax
	leaq	LJTI0_0(%rip), %r13
	leaq	L_.str(%rip), %rcx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	$0, (%r12)
	movl	$63, %ebx
	cmpl	$4, %eax
	ja	LBB0_55
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	%eax, %eax
	movslq	(%r13,%rax,4), %rax
	addq	%r13, %rax
	jmpq	*%rax
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	16(%r12), %rax
	leaq	8(%rax), %rcx
	movq	%rcx, 16(%r12)
	decl	32(%r12)
	movq	8(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_41
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	$2, 8(%r12)
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	16(%r12), %rax
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_41
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
	cmpb	$45, (%rdi)
	jne	LBB0_41
## %bb.7:                               ##   in Loop: Header=BB0_1 Depth=1
	leaq	L_.str(%rip), %rsi
	callq	_strcmp
	movq	16(%r12), %rcx
	leaq	8(%rcx), %rdx
	movq	%rdx, 16(%r12)
	testq	%rax, %rax
	je	LBB0_21
## %bb.8:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	(%rcx), %rax
	movq	%rax, 24(%r12)
	decl	32(%r12)
	cmpb	$45, 1(%rax)
	je	LBB0_22
## %bb.9:                               ##   in Loop: Header=BB0_1 Depth=1
	incq	%rax
	movl	$3, 8(%r12)
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	24(%r12), %rax
LBB0_11:                                ##   in Loop: Header=BB0_1 Depth=1
	leaq	1(%rax), %r15
	movq	%r15, 24(%r12)
	movsbl	(%rax), %ebx
	testl	%ebx, %ebx
	jne	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_1 Depth=1
	movl	$2, 8(%r12)
	movl	$2, %eax
	jmp	LBB0_1
LBB0_41:
	movl	$-1, %ebx
	jmp	LBB0_55
LBB0_13:
	movq	_short_options@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movl	%ebx, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_40
## %bb.14:
	cmpb	$58, 1(%rax)
	jne	LBB0_55
## %bb.15:
	cmpb	$0, (%r15)
	jne	LBB0_18
## %bb.16:
	movq	16(%r12), %rax
	movq	(%rax), %r15
	movq	%r15, 24(%r12)
	testq	%r15, %r15
	je	LBB0_52
## %bb.17:
	addq	$8, %rax
	movq	%rax, 16(%r12)
	decl	32(%r12)
LBB0_18:
	cmpb	$87, %bl
	jne	LBB0_48
## %bb.19:
	leaq	L_.str.2(%rip), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_24
LBB0_21:
	decl	32(%r12)
	movl	$-1, %ebx
	jmp	LBB0_55
LBB0_22:
	addq	$2, %rax
	movq	%rax, 24(%r12)
	movq	%rax, %r15
	jmp	LBB0_24
LBB0_23:
	movq	24(%r12), %r15
LBB0_24:
	movl	$2, 8(%r12)
	movq	%r15, %rdi
	movl	$61, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_26
## %bb.25:
	movq	%rax, %rdx
	subq	%r15, %rdx
	incq	%rax
	movq	%rax, (%r12)
	jmp	LBB0_27
LBB0_26:
	movq	%r15, %rdi
	callq	_strlen
	movq	%rax, %rdx
LBB0_27:
	movq	_tar_longopts@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	(%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_39
## %bb.28:
	xorl	%r14d, %r14d
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_29:                                ## =>This Inner Loop Header: Depth=1
	movzbl	(%rsi), %eax
	cmpb	(%r15), %al
	jne	LBB0_32
## %bb.30:                              ##   in Loop: Header=BB0_29 Depth=1
	movq	%r15, %rdi
	movq	%rdx, %r15
	callq	_strncmp
	testq	%rax, %rax
	je	LBB0_33
## %bb.31:                              ##   in Loop: Header=BB0_29 Depth=1
	movq	%r13, %rdi
	movq	%r14, %r13
	movq	%r15, %rdx
	jmp	LBB0_34
	.p2align	4, 0x90
LBB0_32:                                ##   in Loop: Header=BB0_29 Depth=1
	movq	%r13, %rdi
	movq	%r14, %r13
	jmp	LBB0_34
LBB0_33:                                ##   in Loop: Header=BB0_29 Depth=1
	movq	(%rbx), %rdi
	callq	_strlen
	movq	%rbx, %rdi
	cmpq	%r15, %rax
	movq	%r15, %rdx
	je	LBB0_44
	.p2align	4, 0x90
LBB0_34:                                ##   in Loop: Header=BB0_29 Depth=1
	movq	24(%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_36
## %bb.35:                              ##   in Loop: Header=BB0_29 Depth=1
	addq	$24, %rbx
	movq	24(%r12), %r15
	movq	%r13, %r14
	movq	%rdi, %r13
	jmp	LBB0_29
LBB0_36:
	testq	%rdi, %rdi
	je	LBB0_39
## %bb.37:
	testq	%r13, %r13
	je	LBB0_43
## %bb.38:
	movq	24(%r12), %rcx
	movq	(%rdi), %r8
	movq	(%r13), %r9
	leaq	L_.str.4(%rip), %rsi
	xorl	%edi, %edi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_lafe_warnc
	movl	$63, %ebx
	jmp	LBB0_55
LBB0_39:
	movq	24(%r12), %rcx
	leaq	L_.str.3(%rip), %rsi
	xorl	%edi, %edi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_lafe_warnc
LBB0_40:
	movl	$63, %ebx
LBB0_55:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_43:
	movq	%rdi, %rbx
LBB0_44:
	movq	%rbx, %rdx
	cmpq	$0, 16(%rbx)
	movq	(%r12), %rax
	movl	$63, %ebx
	je	LBB0_49
## %bb.45:
	testq	%rax, %rax
	jne	LBB0_51
## %bb.46:
	movq	16(%r12), %rax
	movq	(%rax), %rcx
	movq	%rcx, (%r12)
	testq	%rcx, %rcx
	je	LBB0_53
## %bb.47:
	addq	$8, %rax
	movq	%rax, 16(%r12)
	decl	32(%r12)
	jmp	LBB0_51
LBB0_48:
	movl	$2, 8(%r12)
	movq	%r15, (%r12)
	jmp	LBB0_55
LBB0_49:
	testq	%rax, %rax
	je	LBB0_51
## %bb.50:
	movq	(%rdx), %rcx
	leaq	L_.str.6(%rip), %rsi
	jmp	LBB0_54
LBB0_51:
	movl	8(%rdx), %ebx
	jmp	LBB0_55
LBB0_52:
	leaq	L_.str.1(%rip), %rsi
	xorl	%edi, %edi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_lafe_warnc
	movl	$63, %ebx
	jmp	LBB0_55
LBB0_53:
	movq	(%rdx), %rcx
	leaq	L_.str.5(%rip), %rsi
LBB0_54:
	xorl	%edi, %edi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_lafe_warnc
	jmp	LBB0_55
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_55, LBB0_55-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_23, LBB0_23-LJTI0_0
LJTI0_0:
	.long	L0_0_set_3
	.long	L0_0_set_55
	.long	L0_0_set_5
	.long	L0_0_set_10
	.long	L0_0_set_23
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"--"

	.comm	_short_options,8,3              ## @short_options
L_.str.1:                               ## @.str.1
	.asciz	"Option -%c requires an argument"

L_.str.2:                               ## @.str.2
	.asciz	"-W "

	.comm	_tar_longopts,8,3               ## @tar_longopts
L_.str.3:                               ## @.str.3
	.asciz	"Option %s%s is not supported"

L_.str.4:                               ## @.str.4
	.asciz	"Ambiguous option %s%s (matches --%s and --%s)"

L_.str.5:                               ## @.str.5
	.asciz	"Option %s%s requires an argument"

L_.str.6:                               ## @.str.6
	.asciz	"Option %s%s does not allow an argument"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bsdcat_getopt                  ; -- Begin function bsdcat_getopt
	.p2align	2
_bsdcat_getopt:                         ; @bsdcat_getopt
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	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
	mov	x19, x0
	ldr	w8, [x0, #8]
Lloh0:
	adrp	x23, lJTI0_0@PAGE
Lloh1:
	add	x23, x23, lJTI0_0@PAGEOFF
	mov	w24, #2
Lloh2:
	adrp	x22, l_.str@PAGE
Lloh3:
	add	x22, x22, l_.str@PAGEOFF
	mov	w25, #3
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	str	xzr, [x19]
	mov	w21, #63
	cmp	w8, #4
	b.hi	LBB0_42
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	w8, w8
	adr	x9, LBB0_3
	ldrb	w10, [x23, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_3:                                 ;   in Loop: Header=BB0_1 Depth=1
	ldr	x8, [x19, #16]
	add	x9, x8, #8
	str	x9, [x19, #16]
	ldr	w9, [x19, #32]
	sub	w9, w9, #1
	str	w9, [x19, #32]
	ldr	x0, [x8, #8]
	cbz	x0, LBB0_13
; %bb.4:                                ;   in Loop: Header=BB0_1 Depth=1
	str	w24, [x19, #8]
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_1 Depth=1
	ldr	x8, [x19, #16]
	ldr	x0, [x8]
	cbz	x0, LBB0_13
LBB0_6:                                 ;   in Loop: Header=BB0_1 Depth=1
	ldrb	w8, [x0]
	cmp	w8, #45
	b.ne	LBB0_13
; %bb.7:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x1, x22
	bl	_strcmp
	ldr	x8, [x19, #16]
	add	x9, x8, #8
	str	x9, [x19, #16]
	cbz	x0, LBB0_21
; %bb.8:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	x9, [x8]
	str	x9, [x19, #24]
	ldr	w8, [x19, #32]
	sub	w8, w8, #1
	str	w8, [x19, #32]
	mov	x8, x9
	ldrb	w10, [x8, #1]!
	cmp	w10, #45
	b.eq	LBB0_22
; %bb.9:                                ;   in Loop: Header=BB0_1 Depth=1
	str	w25, [x19, #8]
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	x8, [x19, #24]
LBB0_11:                                ;   in Loop: Header=BB0_1 Depth=1
	add	x20, x8, #1
	str	x20, [x19, #24]
	ldrsb	w21, [x8]
	cbnz	w21, LBB0_14
; %bb.12:                               ;   in Loop: Header=BB0_1 Depth=1
	mov	w8, #2
	str	w8, [x19, #8]
	b	LBB0_1
LBB0_13:
	mov	w21, #-1
	b	LBB0_42
LBB0_14:
Lloh4:
	adrp	x8, _short_options@GOTPAGE
Lloh5:
	ldr	x8, [x8, _short_options@GOTPAGEOFF]
Lloh6:
	ldr	x0, [x8]
	mov	x1, x21
	bl	_strchr
	cbz	x0, LBB0_41
; %bb.15:
	ldrb	w8, [x0, #1]
	cmp	w8, #58
	b.ne	LBB0_42
; %bb.16:
	ldrb	w8, [x20]
	cbnz	w8, LBB0_19
; %bb.17:
	ldr	x8, [x19, #16]
	ldr	x20, [x8]
	str	x20, [x19, #24]
	cbz	x20, LBB0_52
; %bb.18:
	add	x8, x8, #8
	str	x8, [x19, #16]
	ldr	w8, [x19, #32]
	sub	w8, w8, #1
	str	w8, [x19, #32]
LBB0_19:
	cmp	w21, #87
	b.ne	LBB0_48
; %bb.20:
Lloh7:
	adrp	x22, l_.str.2@PAGE
Lloh8:
	add	x22, x22, l_.str.2@PAGEOFF
	b	LBB0_25
LBB0_21:
	ldr	w8, [x19, #32]
	sub	w8, w8, #1
	str	w8, [x19, #32]
	mov	w21, #-1
	b	LBB0_42
LBB0_22:
	add	x20, x9, #2
	str	x20, [x19, #24]
	b	LBB0_24
LBB0_23:
	ldr	x20, [x19, #24]
LBB0_24:
Lloh9:
	adrp	x22, l_.str@PAGE
Lloh10:
	add	x22, x22, l_.str@PAGEOFF
LBB0_25:
	mov	w8, #2
	str	w8, [x19, #8]
	mov	x0, x20
	mov	w1, #61
	bl	_strchr
	cbz	x0, LBB0_27
; %bb.26:
	sub	x21, x0, x20
	add	x8, x0, #1
	str	x8, [x19]
	b	LBB0_28
LBB0_27:
	mov	x0, x20
	bl	_strlen
	mov	x21, x0
LBB0_28:
Lloh11:
	adrp	x8, _tar_longopts@GOTPAGE
Lloh12:
	ldr	x8, [x8, _tar_longopts@GOTPAGEOFF]
Lloh13:
	ldr	x23, [x8]
	ldr	x1, [x23]
	cbz	x1, LBB0_39
; %bb.29:
	mov	x25, #0
	mov	x24, #0
LBB0_30:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w8, [x1]
	ldrb	w9, [x20]
	cmp	w8, w9
	b.ne	LBB0_32
; %bb.31:                               ;   in Loop: Header=BB0_30 Depth=1
	mov	x0, x20
	mov	x2, x21
	bl	_strncmp
	cbz	x0, LBB0_35
LBB0_32:                                ;   in Loop: Header=BB0_30 Depth=1
	mov	x8, x24
	mov	x24, x25
LBB0_33:                                ;   in Loop: Header=BB0_30 Depth=1
	ldr	x1, [x23, #24]!
	cbz	x1, LBB0_36
; %bb.34:                               ;   in Loop: Header=BB0_30 Depth=1
	ldr	x20, [x19, #24]
	mov	x25, x24
	mov	x24, x8
	b	LBB0_30
LBB0_35:                                ;   in Loop: Header=BB0_30 Depth=1
	ldr	x0, [x23]
	bl	_strlen
	mov	x8, x23
	cmp	x0, x21
	b.ne	LBB0_33
	b	LBB0_44
LBB0_36:
	cbz	x8, LBB0_39
; %bb.37:
	cbz	x24, LBB0_43
; %bb.38:
	ldr	x9, [x19, #24]
	ldr	x8, [x8]
	ldr	x10, [x24]
	stp	x8, x10, [sp, #16]
	stp	x22, x9, [sp]
Lloh14:
	adrp	x1, l_.str.4@PAGE
Lloh15:
	add	x1, x1, l_.str.4@PAGEOFF
	b	LBB0_40
LBB0_39:
	ldr	x8, [x19, #24]
	stp	x22, x8, [sp]
Lloh16:
	adrp	x1, l_.str.3@PAGE
Lloh17:
	add	x1, x1, l_.str.3@PAGEOFF
LBB0_40:
	mov	w0, #0
	bl	_lafe_warnc
LBB0_41:
	mov	w21, #63
LBB0_42:
	mov	x0, x21
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_43:
	mov	x23, x8
LBB0_44:
	ldr	x9, [x23, #16]
	ldr	x8, [x19]
	cbz	x9, LBB0_49
; %bb.45:
	cbnz	x8, LBB0_51
; %bb.46:
	ldr	x8, [x19, #16]
	ldr	x9, [x8]
	str	x9, [x19]
	cbz	x9, LBB0_53
; %bb.47:
	add	x8, x8, #8
	str	x8, [x19, #16]
	ldr	w8, [x19, #32]
	sub	w8, w8, #1
	str	w8, [x19, #32]
	b	LBB0_51
LBB0_48:
	mov	w8, #2
	str	w8, [x19, #8]
	str	x20, [x19]
	b	LBB0_42
LBB0_49:
	cbz	x8, LBB0_51
; %bb.50:
	ldr	x8, [x23]
	stp	x22, x8, [sp]
Lloh18:
	adrp	x1, l_.str.6@PAGE
Lloh19:
	add	x1, x1, l_.str.6@PAGEOFF
	b	LBB0_40
LBB0_51:
	ldr	w21, [x23, #8]
	b	LBB0_42
LBB0_52:
	str	x21, [sp]
Lloh20:
	adrp	x1, l_.str.1@PAGE
Lloh21:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_40
LBB0_53:
	ldr	x8, [x23]
	stp	x22, x8, [sp]
Lloh22:
	adrp	x1, l_.str.5@PAGE
Lloh23:
	add	x1, x1, l_.str.5@PAGEOFF
	b	LBB0_40
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_42-LBB0_3)>>2
	.byte	(LBB0_5-LBB0_3)>>2
	.byte	(LBB0_10-LBB0_3)>>2
	.byte	(LBB0_23-LBB0_3)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"--"

	.comm	_short_options,8,3              ; @short_options
l_.str.1:                               ; @.str.1
	.asciz	"Option -%c requires an argument"

l_.str.2:                               ; @.str.2
	.asciz	"-W "

	.comm	_tar_longopts,8,3               ; @tar_longopts
l_.str.3:                               ; @.str.3
	.asciz	"Option %s%s is not supported"

l_.str.4:                               ; @.str.4
	.asciz	"Ambiguous option %s%s (matches --%s and --%s)"

l_.str.5:                               ; @.str.5
	.asciz	"Option %s%s requires an argument"

l_.str.6:                               ; @.str.6
	.asciz	"Option %s%s does not allow an argument"

.subsections_via_symbols
