	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_line
_get_line:                              ## @get_line
	.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
	subq	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	cmpq	$0, (%rdi)
	je	LBB0_1
## %bb.2:
	movl	%ecx, %r15d
	movq	%rdx, %r12
	movq	%rdi, %rbx
	movq	%r8, -120(%rbp)                 ## 8-byte Spill
	leaq	-112(%rbp), %rax
	movl	%esi, %edi
	movq	%rax, %rsi
	movl	$16, %edx
	callq	_sdb_itoa
	movq	(%rbx), %rdi
	xorl	%r13d, %r13d
	movq	%rax, %rsi
	xorl	%edx, %edx
	callq	_sdb_get
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movq	%rax, %rbx
	movq	%rax, %rdi
	movl	$124, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	%rax, %r14
	movb	$0, (%rax)
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movl	%r15d, %edx
	callq	_strncpy
	incq	%r14
	movq	%r14, %rdi
	callq	_atoi
	movq	-120(%rbp), %rcx                ## 8-byte Reload
	movl	%eax, (%rcx)
	movl	$1, %r13d
	jmp	LBB0_5
LBB0_1:
	xorl	%r13d, %r13d
LBB0_5:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_7
## %bb.6:
	movl	%r13d, %eax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_get_line
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_line
_get_line:                              ; @get_line
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
Lloh0:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	stur	x9, [x29, #-56]
	ldr	x9, [x0]
	cbz	x9, LBB0_4
; %bb.1:
	mov	x19, x4
	mov	x20, x3
	mov	x21, x2
	mov	x8, x1
	mov	x22, x0
	add	x1, sp, #8
	mov	x0, x8
	mov	w2, #16
	bl	_sdb_itoa
	mov	x1, x0
	ldr	x0, [x22]
	mov	w2, #0
	bl	_sdb_get
	cbz	x0, LBB0_4
; %bb.2:
	mov	x22, x0
	mov	w1, #124
	bl	_strchr
	cbz	x0, LBB0_4
; %bb.3:
	mov	x23, x0
	strb	wzr, [x23], #1
	mov	x0, x21
	mov	x1, x22
	mov	x2, x20
	bl	_strncpy
	mov	x0, x23
	bl	_atoi
	str	w0, [x19]
	mov	w0, #1
	b	LBB0_5
LBB0_4:
	mov	w0, #0
LBB0_5:
	ldur	x8, [x29, #-56]
Lloh3:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh4:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_7
; %bb.6:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_7:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_get_line
.subsections_via_symbols
