	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sldns_bskipcs                  ## -- Begin function sldns_bskipcs
	.p2align	4, 0x90
_sldns_bskipcs:                         ## @sldns_bskipcs
	.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	%rsi, %r14
	movq	%rdi, %r15
	movq	(%rdi), %rsi
	movl	$1, %ebx
	movl	$1, %edx
	callq	_sldns_buffer_available_at
	testq	%rax, %rax
	je	LBB0_8
## %bb.1:
	leaq	1(%r14), %r12
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	movq	(%r15), %rsi
	movq	%r15, %rdi
	callq	_sldns_buffer_read_u8_at
	movb	(%r14), %cl
	testb	%cl, %cl
	je	LBB0_8
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movsbl	%al, %edx
	xorl	%eax, %eax
	movq	%r12, %rsi
	.p2align	4, 0x90
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movsbl	%cl, %ecx
	cmpl	%ecx, %edx
	cmovel	%ebx, %eax
	movzbl	(%rsi), %ecx
	incq	%rsi
	testb	%cl, %cl
	jne	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	testl	%eax, %eax
	je	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r15), %rsi
	cmpq	%rsi, 8(%r15)
	jle	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	%rsi
	movq	%rsi, (%r15)
	movq	%r15, %rdi
	movl	$1, %edx
	callq	_sldns_buffer_available_at
	testq	%rax, %rax
	jne	LBB0_2
LBB0_8:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sldns_bskipcs                  ; -- Begin function sldns_bskipcs
	.p2align	2
_sldns_bskipcs:                         ; @sldns_bskipcs
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x19, x1
	mov	x20, x0
	ldr	x1, [x0]
	mov	w2, #1
	bl	_sldns_buffer_available_at
	cbz	x0, LBB0_8
; %bb.1:
	add	x21, x19, #1
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_4 Depth 2
	ldr	x1, [x20]
	mov	x0, x20
	bl	_sldns_buffer_read_u8_at
	ldrb	w9, [x19]
	cbz	w9, LBB0_8
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w8, #0
	sxtb	w10, w0
	mov	x11, x21
LBB0_4:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	cmp	w10, w9, sxtb
	csinc	w8, w8, wzr, ne
	ldrb	w9, [x11], #1
	cbnz	w9, LBB0_4
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	cbz	w8, LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	ldp	x8, x9, [x20]
	cmp	x9, x8
	b.le	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x1, x8, #1
	str	x1, [x20]
	mov	x0, x20
	mov	w2, #1
	bl	_sldns_buffer_available_at
	cbnz	x0, LBB0_2
LBB0_8:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
