	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_msg_cat                        ## -- Begin function msg_cat
	.p2align	4, 0x90
_msg_cat:                               ## @msg_cat
	.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	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movsbl	(%rsi), %edi
	callq	_isdigit
	testq	%rax, %rax
	je	LBB0_9
## %bb.1:
	movsbl	1(%rbx), %edi
	callq	_isdigit
	testq	%rax, %rax
	je	LBB0_9
## %bb.2:
	movsbl	2(%rbx), %edi
	callq	_isdigit
	testq	%rax, %rax
	je	LBB0_9
## %bb.3:
	cmpb	$124, 3(%rbx)
	jne	LBB0_9
## %bb.4:
	movq	%rbx, %rdi
	callq	_atoi
	addq	$4, %rbx
	testq	%r15, %r15
	je	LBB0_9
## %bb.5:
	movq	(%r15), %rcx
	testq	%rcx, %rcx
	je	LBB0_9
## %bb.6:
	movq	(%rcx), %rdi
	cmpq	$-1, %rdi
	je	LBB0_9
## %bb.7:
	movl	$1, %esi
	movl	%eax, %edx
	movq	%rbx, %rcx
	callq	_catgets
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movq	%rax, %rbx
LBB0_9:
	testq	%r14, %r14
	je	LBB0_11
## %bb.10:
	movq	%rbx, %rdi
	callq	_strlen
	movq	%rax, (%r14)
LBB0_11:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_msg_cat                        ; -- Begin function msg_cat
	.p2align	2
_msg_cat:                               ; @msg_cat
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x2
	mov	x19, x1
	mov	x21, x0
	ldrsb	w0, [x1]
	bl	_isdigit
	cbz	x0, LBB0_9
; %bb.1:
	ldrsb	w0, [x19, #1]
	bl	_isdigit
	cbz	x0, LBB0_9
; %bb.2:
	ldrsb	w0, [x19, #2]
	bl	_isdigit
	cbz	x0, LBB0_9
; %bb.3:
	ldrb	w8, [x19, #3]
	cmp	w8, #124
	b.ne	LBB0_9
; %bb.4:
	mov	x0, x19
	bl	_atoi
	add	x19, x19, #4
	cbz	x21, LBB0_9
; %bb.5:
	ldr	x8, [x21]
	cbz	x8, LBB0_9
; %bb.6:
	mov	x2, x0
	ldr	x0, [x8]
	cmn	x0, #1
	b.eq	LBB0_9
; %bb.7:
	mov	w1, #1
	mov	x3, x19
	bl	_catgets
	cbz	x0, LBB0_9
; %bb.8:
	mov	x19, x0
LBB0_9:
	cbz	x20, LBB0_11
; %bb.10:
	mov	x0, x19
	bl	_strlen
	str	x0, [x20]
LBB0_11:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
