	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_catopt                         ## -- Begin function catopt
	.p2align	4, 0x90
_catopt:                                ## @catopt
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	testq	%rsi, %rsi
	je	LBB0_8
## %bb.1:
	movq	%rsi, %rcx
	cmpb	$0, (%rsi)
	je	LBB0_8
## %bb.2:
	testq	%rbx, %rbx
	je	LBB0_9
## %bb.3:
	cmpb	$0, (%rbx)
	je	LBB0_6
## %bb.4:
	leaq	L_.str(%rip), %rsi
	leaq	-16(%rbp), %rdi
	movq	%rbx, %rdx
	callq	_asprintf
	cmpl	$-1, %eax
	jne	LBB0_7
## %bb.5:
	leaq	L_.str.1(%rip), %rsi
	movl	$1, %edi
	callq	_errx
	jmp	LBB0_7
LBB0_9:
	movq	%rcx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_strdup                         ## TAILCALL
LBB0_6:
	movq	%rcx, %rdi
	callq	_strdup
	movq	%rax, -16(%rbp)
LBB0_7:
	movq	%rbx, %rdi
	callq	_free
	movq	-16(%rbp), %rbx
LBB0_8:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s,%s"

L_.str.1:                               ## @.str.1
	.asciz	"asprintf failed"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_catopt                         ; -- Begin function catopt
	.p2align	2
_catopt:                                ; @catopt
	.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, x0
	cbz	x1, LBB0_9
; %bb.1:
	mov	x3, x1
	ldrb	w8, [x1]
	cbz	w8, LBB0_9
; %bb.2:
	cbz	x19, LBB0_6
; %bb.3:
	ldrb	w8, [x19]
	cbz	w8, LBB0_7
; %bb.4:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	add	x0, sp, #8
	mov	x2, x19
	bl	_asprintf
	cmn	w0, #1
	b.ne	LBB0_8
; %bb.5:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #1
	bl	_errx
	b	LBB0_8
LBB0_6:
	mov	x0, x3
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_strdup
LBB0_7:
	mov	x0, x3
	bl	_strdup
	str	x0, [sp, #8]
LBB0_8:
	mov	x0, x19
	bl	_free
	ldr	x19, [sp, #8]
LBB0_9:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s,%s"

l_.str.1:                               ; @.str.1
	.asciz	"asprintf failed"

.subsections_via_symbols
