	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_read_graft_line                ## -- Begin function read_graft_line
	.p2align	4, 0x90
_read_graft_line:                       ## @read_graft_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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	$0, -56(%rbp)
	callq	_strbuf_rtrim
	cmpl	$0, 8(%r15)
	je	LBB0_12
## %bb.1:
	movq	(%r15), %rdi
	cmpb	$35, (%rdi)
	je	LBB0_12
## %bb.2:
	leaq	-64(%rbp), %rsi
	leaq	-56(%rbp), %rdx
	callq	_parse_oid_hex
	movb	$1, %bl
	testq	%rax, %rax
	jne	LBB0_11
## %bb.3:
	movq	-56(%rbp), %rax
	cmpb	$0, (%rax)
	je	LBB0_9
## %bb.4:
	xorl	%r14d, %r14d
	leaq	-64(%rbp), %r12
	leaq	-56(%rbp), %r13
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	leaq	1(%rax), %rbx
	movq	%rbx, -56(%rbp)
	movsbl	(%rax), %edi
	callq	_isspace
	testl	%eax, %eax
	je	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	%r13, %rdx
	callq	_parse_oid_hex
	testq	%rax, %rax
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	-56(%rbp), %rax
	incl	%r14d
	cmpb	$0, (%rax)
	jne	LBB0_5
	jmp	LBB0_10
LBB0_8:
	movb	$1, %bl
	jmp	LBB0_11
LBB0_9:
	xorl	%r14d, %r14d
LBB0_10:
	movl	$4, %edi
	movl	%r14d, %esi
	callq	_st_mult
	movl	$24, %edi
	movl	%eax, %esi
	callq	_st_add
	movl	%eax, %edi
	callq	_xmalloc
	movq	%rax, %r13
	movl	%r14d, (%rax)
	leaq	16(%rax), %rsi
	testq	%rax, %rax
	sete	%bl
	leaq	-64(%rbp), %r14
	cmoveq	%r14, %rsi
	movq	(%r15), %rdi
	leaq	-56(%rbp), %rdx
	callq	_parse_oid_hex
	testq	%rax, %rax
	jne	LBB0_11
## %bb.14:
	movq	-56(%rbp), %rax
	cmpb	$0, (%rax)
	je	LBB0_21
## %bb.15:
	movb	%bl, -41(%rbp)                  ## 1-byte Spill
	xorl	%r12d, %r12d
	xorl	%ebx, %ebx
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movl	%ebx, -68(%rbp)                 ## 4-byte Spill
	testq	%r13, %r13
	je	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_16 Depth=1
	movq	8(%r13), %r14
	addq	%r12, %r14
LBB0_18:                                ##   in Loop: Header=BB0_16 Depth=1
	leaq	1(%rax), %rbx
	movq	%rbx, -56(%rbp)
	movsbl	(%rax), %edi
	callq	_isspace
	testl	%eax, %eax
	je	LBB0_25
## %bb.19:                              ##   in Loop: Header=BB0_16 Depth=1
	movq	%rbx, %rdi
	movq	%r14, %rsi
	leaq	-56(%rbp), %rdx
	callq	_parse_oid_hex
	testq	%rax, %rax
	jne	LBB0_25
## %bb.20:                              ##   in Loop: Header=BB0_16 Depth=1
	movq	-56(%rbp), %rax
	movl	-68(%rbp), %ebx                 ## 4-byte Reload
	incl	%ebx
	addq	$4, %r12
	cmpb	$0, (%rax)
	leaq	-64(%rbp), %r14
	jne	LBB0_16
	jmp	LBB0_22
LBB0_25:
	movb	-41(%rbp), %bl                  ## 1-byte Reload
LBB0_11:
	movq	(%r15), %rsi
	leaq	L_.str(%rip), %rdi
	callq	_error
	movzbl	%bl, %edi
	callq	_assert
LBB0_12:
	xorl	%r13d, %r13d
LBB0_13:
	movq	%r13, %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_21:
	xorl	%ebx, %ebx
LBB0_22:
	testq	%r13, %r13
	jne	LBB0_13
## %bb.23:
	movl	$4, %edi
	movl	%ebx, %esi
	callq	_st_mult
	movl	$24, %edi
	movl	%eax, %esi
	callq	_st_add
	movl	%eax, %edi
	callq	_xmalloc
	movq	%rax, %r13
	movl	%ebx, (%rax)
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"bad graft data: %s"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_read_graft_line                ; -- Begin function read_graft_line
	.p2align	2
_read_graft_line:                       ; @read_graft_line
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	str	xzr, [sp, #8]
	bl	_strbuf_rtrim
	ldr	w8, [x19, #8]
	cbz	w8, LBB0_5
; %bb.1:
	ldr	x0, [x19]
	ldrb	w8, [x0]
	cmp	w8, #35
	b.eq	LBB0_5
; %bb.2:
	mov	x1, sp
	add	x2, sp, #8
	bl	_parse_oid_hex
	cbz	x0, LBB0_7
LBB0_3:
	mov	w20, #1
LBB0_4:
	ldr	x1, [x19]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_error
	mov	x0, x20
	bl	_assert
LBB0_5:
	mov	x21, #0
LBB0_6:
	mov	x0, x21
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_7:
	ldr	x8, [sp, #8]
	ldrb	w9, [x8]
	cbz	w9, LBB0_12
; %bb.8:
	mov	w20, #0
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	add	x21, x8, #1
	str	x21, [sp, #8]
	ldrsb	w0, [x8]
	bl	_isspace
	cbz	w0, LBB0_3
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x1, sp
	add	x2, sp, #8
	mov	x0, x21
	bl	_parse_oid_hex
	cbnz	x0, LBB0_3
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	x8, [sp, #8]
	ldrb	w9, [x8]
	add	w20, w20, #1
	cbnz	w9, LBB0_9
	b	LBB0_13
LBB0_12:
	mov	w20, #0
LBB0_13:
	mov	w0, #4
	mov	x1, x20
	bl	_st_mult
	mov	x1, x0
	mov	w0, #24
	bl	_st_add
	bl	_xmalloc
	mov	x21, x0
	mov	x8, x0
	str	w20, [x8], #16
	mov	x9, sp
	cmp	x0, #0
	csel	x1, x9, x8, eq
	cset	w20, eq
	ldr	x0, [x19]
	add	x2, sp, #8
	bl	_parse_oid_hex
	cbnz	x0, LBB0_4
; %bb.14:
	ldr	x8, [sp, #8]
	ldrb	w9, [x8]
	cbz	w9, LBB0_22
; %bb.15:
	mov	x25, #0
	mov	w22, #0
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	cbz	x21, LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=1
	ldr	x9, [x21, #8]
	add	x23, x9, x25
	b	LBB0_19
LBB0_18:                                ;   in Loop: Header=BB0_16 Depth=1
	mov	x23, sp
LBB0_19:                                ;   in Loop: Header=BB0_16 Depth=1
	add	x24, x8, #1
	str	x24, [sp, #8]
	ldrsb	w0, [x8]
	bl	_isspace
	cbz	w0, LBB0_4
; %bb.20:                               ;   in Loop: Header=BB0_16 Depth=1
	add	x2, sp, #8
	mov	x0, x24
	mov	x1, x23
	bl	_parse_oid_hex
	cbnz	x0, LBB0_4
; %bb.21:                               ;   in Loop: Header=BB0_16 Depth=1
	ldr	x8, [sp, #8]
	ldrb	w9, [x8]
	add	w22, w22, #1
	add	x25, x25, #4
	cbnz	w9, LBB0_16
	b	LBB0_23
LBB0_22:
	mov	w22, #0
LBB0_23:
	cbnz	x21, LBB0_6
; %bb.24:
	mov	w0, #4
	mov	x1, x22
	bl	_st_mult
	mov	x1, x0
	mov	w0, #24
	bl	_st_add
	bl	_xmalloc
	mov	x21, x0
	str	w22, [x0]
	b	LBB0_6
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"bad graft data: %s"

.subsections_via_symbols
