	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function chunkline_get_line
_chunkline_get_line:                    ## @chunkline_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rdx, %r14
	movq	%rsi, %r12
	movq	%rdi, %r15
	movq	(%rsi), %rdx
	xorl	%ecx, %ecx
	jmp	LBB0_3
LBB0_1:
	xorl	%ecx, %ecx
LBB0_11:
	xorl	%eax, %eax
	testl	%ecx, %ecx
	setne	%al
	jmp	LBB0_12
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	$1, %ecx
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	8(%rax), %rax
	movq	%rax, (%r15)
	movq	$0, (%r12)
	movl	$0, %edx
	testq	%rax, %rax
	je	LBB0_11
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	cmpq	(%rax), %rdx
	jae	LBB0_10
	.p2align	4, 0x90
LBB0_4:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	16(%rax), %rax
	movq	(%rax,%rdx,8), %rbx
	incq	%rdx
	movq	%rdx, (%r12)
	movq	%r14, %rdi
	callq	_sldns_buffer_remaining
	cmpl	$1, %eax
	jle	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=2
	movl	%ebx, %r13d
	shll	$24, %r13d
	movsbl	%bl, %esi
	movq	%r14, %rdi
	callq	_sldns_buffer_write_u8
	cmpl	$167772160, %r13d               ## imm = 0xA000000
	je	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=2
	movq	(%r12), %rdx
	movq	(%r15), %rax
	cmpq	(%rax), %rdx
	jb	LBB0_4
	jmp	LBB0_9
LBB0_5:
	movq	_VERB_ALGO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_verbose
	xorl	%eax, %eax
	jmp	LBB0_12
LBB0_7:
	movl	$1, %eax
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VERB_ALGO,4,2                  ## @VERB_ALGO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"http chunkline, line too long"

	.no_dead_strip	_chunkline_get_line
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function chunkline_get_line
_chunkline_get_line:                    ; @chunkline_get_line
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	ldr	x8, [x0]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	mov	w10, #0
	ldr	x9, [x1]
	mov	w22, #167772160
	b	LBB0_6
LBB0_2:
	mov	w10, #0
LBB0_3:
	cmp	w10, #0
	cset	w0, ne
	b	LBB0_12
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	w10, #1
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x9, #0
	ldr	x8, [x8, #8]
	str	x8, [x21]
	str	xzr, [x20]
	cbz	x8, LBB0_3
LBB0_6:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
	ldr	x11, [x8]
	cmp	x9, x11
	b.hs	LBB0_5
LBB0_7:                                 ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x8, #16]
	ldr	x23, [x8, x9, lsl #3]
	add	x8, x9, #1
	str	x8, [x20]
	mov	x0, x19
	bl	_sldns_buffer_remaining
	cmp	w0, #1
	b.le	LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=2
	sxtb	w1, w23
	mov	x0, x19
	bl	_sldns_buffer_write_u8
	cmp	w22, w23, lsl #24
	b.eq	LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=2
	ldr	x9, [x20]
	ldr	x8, [x21]
	ldr	x10, [x8]
	cmp	x9, x10
	b.lo	LBB0_7
	b	LBB0_4
LBB0_10:
Lloh0:
	adrp	x8, _VERB_ALGO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VERB_ALGO@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_verbose
	mov	w0, #0
	b	LBB0_12
LBB0_11:
	mov	w0, #1
LBB0_12:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_VERB_ALGO,4,2                  ; @VERB_ALGO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"http chunkline, line too long"

	.no_dead_strip	_chunkline_get_line
.subsections_via_symbols
