	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function afslog_cell
_afslog_cell:                           ## @afslog_cell
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	testl	%esi, %esi
	je	LBB0_1
## %bb.2:
	movq	%r14, %rdi
	callq	_expand_cell_name
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%rax, %r12
	movq	_verbose@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_7
## %bb.5:
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	leaq	L_.str.1(%rip), %rdi
	movq	%r14, %rsi
	movq	%r12, %rdx
	xorl	%eax, %eax
	callq	_warnx
	jmp	LBB0_7
LBB0_1:
	movq	%r14, %r12
LBB0_7:
	movq	_cell_list@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_11
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rax, %rbx
	movq	(%rax), %rdi
	movq	%r12, %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_15
## %bb.8:                               ##   in Loop: Header=BB0_9 Depth=1
	movq	8(%rbx), %rax
	testq	%rax, %rax
	jne	LBB0_9
## %bb.10:
	addq	$8, %rbx
LBB0_11:
	movl	$16, %edi
	callq	_malloc
	movl	$-1, %r14d
	testq	%rax, %rax
	je	LBB0_16
## %bb.12:
	movq	%rax, %r15
	movq	%r12, %rdi
	callq	_strdup
	movq	%rax, (%r15)
	testq	%rax, %rax
	je	LBB0_13
## %bb.14:
	movq	$0, 8(%r15)
	movq	%r15, (%rbx)
LBB0_15:
	xorl	%r14d, %r14d
	jmp	LBB0_16
LBB0_3:
	leaq	L_.str(%rip), %rdi
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_warnx
	movl	$-1, %r14d
	jmp	LBB0_16
LBB0_13:
	movq	%r15, %rdi
	callq	_free
LBB0_16:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"No cell matching \"%s\" found."

	.comm	_verbose,8,3                    ## @verbose
L_.str.1:                               ## @.str.1
	.asciz	"Cell \"%s\" expanded to \"%s\""

	.comm	_cell_list,8,3                  ## @cell_list
	.no_dead_strip	_afslog_cell
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function afslog_cell
_afslog_cell:                           ; @afslog_cell
	.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	x20, x0
	cbz	w1, LBB0_5
; %bb.1:
	mov	x0, x20
	bl	_expand_cell_name
	cbz	x0, LBB0_13
; %bb.2:
	mov	x19, x0
Lloh0:
	adrp	x8, _verbose@GOTPAGE
Lloh1:
	ldr	x8, [x8, _verbose@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_6
; %bb.3:
	mov	x0, x19
	mov	x1, x20
	bl	_strcmp
	cbz	x0, LBB0_6
; %bb.4:
	str	x19, [sp]
Lloh3:
	adrp	x0, l_.str.1@PAGE
Lloh4:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x20
	bl	_warnx
	b	LBB0_6
LBB0_5:
	mov	x19, x20
LBB0_6:
Lloh5:
	adrp	x21, _cell_list@GOTPAGE
Lloh6:
	ldr	x21, [x21, _cell_list@GOTPAGEOFF]
	ldr	x8, [x21]
	cbz	x8, LBB0_10
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	mov	x20, x8
	ldr	x0, [x8]
	mov	x1, x19
	bl	_strcmp
	cbz	x0, LBB0_16
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [x20, #8]
	cbnz	x8, LBB0_7
; %bb.9:
	add	x21, x20, #8
LBB0_10:
	mov	w0, #16
	bl	_malloc
	cbz	x0, LBB0_15
; %bb.11:
	mov	x20, x0
	mov	x0, x19
	bl	_strdup
	str	x0, [x20]
	cbz	x0, LBB0_14
; %bb.12:
	mov	w0, #0
	str	xzr, [x20, #8]
	str	x20, [x21]
	b	LBB0_16
LBB0_13:
Lloh7:
	adrp	x0, l_.str@PAGE
Lloh8:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	bl	_warnx
	b	LBB0_15
LBB0_14:
	mov	x0, x20
	bl	_free
LBB0_15:
	mov	w0, #-1
LBB0_16:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"No cell matching \"%s\" found."

	.comm	_verbose,8,3                    ; @verbose
l_.str.1:                               ; @.str.1
	.asciz	"Cell \"%s\" expanded to \"%s\""

	.comm	_cell_list,8,3                  ; @cell_list
	.no_dead_strip	_afslog_cell
.subsections_via_symbols
