	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function chunkline_remove_trailcomment
_chunkline_remove_trailcomment:         ## @chunkline_remove_trailcomment
	.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	%rsi, %rbx
	movq	%rdi, %r14
	callq	_sldns_buffer_position
	cmpq	%rbx, %rax
	jbe	LBB0_14
## %bb.1:
	movq	%rax, %r15
	xorl	%r12d, %r12d
	xorl	%r13d, %r13d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, %r13d
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	cmpq	%rbx, %r15
	je	LBB0_14
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_sldns_buffer_read_u8_at
	shll	$24, %eax
	testl	%r13d, %r13d
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$654311424, %eax                ## imm = 0x27000000
	jne	LBB0_4
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	testl	%r12d, %r12d
	je	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$570425344, %eax                ## imm = 0x22000000
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, %r12d
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$570425344, %eax                ## imm = 0x22000000
	je	LBB0_12
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$654311424, %eax                ## imm = 0x27000000
	je	LBB0_15
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$989855744, %eax                ## imm = 0x3B000000
	jne	LBB0_13
	jmp	LBB0_11
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	testl	%r12d, %r12d
	sete	%al
	movl	%eax, %r12d
	jmp	LBB0_13
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	testl	%r13d, %r13d
	sete	%al
	movl	%eax, %r13d
	jmp	LBB0_13
LBB0_14:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_sldns_buffer_set_position      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_chunkline_remove_trailcomment
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function chunkline_remove_trailcomment
_chunkline_remove_trailcomment:         ; @chunkline_remove_trailcomment
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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, x1
	mov	x20, x0
	bl	_sldns_buffer_position
	cmp	x0, x19
	b.ls	LBB0_14
; %bb.1:
	mov	x21, x0
	mov	w22, #0
	mov	w23, #0
	mov	w24, #654311424
	mov	w25, #570425344
	mov	w26, #989855744
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	w23, #1
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x19, x19, #1
	cmp	x21, x19
	b.eq	LBB0_14
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x19
	bl	_sldns_buffer_read_u8_at
	lsl	w8, w0, #24
	cbz	w23, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w8, w24
	b.ne	LBB0_2
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	cbz	w22, LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w8, w25
	b.eq	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w22, #1
	b	LBB0_3
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	cmp	w8, w25
	b.eq	LBB0_12
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	cmp	w8, w24
	b.eq	LBB0_13
; %bb.11:                               ;   in Loop: Header=BB0_4 Depth=1
	cmp	w8, w26
	b.ne	LBB0_3
	b	LBB0_15
LBB0_12:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w22, #0
	cset	w22, eq
	b	LBB0_3
LBB0_13:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w23, #0
	cset	w23, eq
	b	LBB0_3
LBB0_14:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_15:
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_sldns_buffer_set_position
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_chunkline_remove_trailcomment
.subsections_via_symbols
