	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sig_is_double
_sig_is_double:                         ## @sig_is_double
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, %rbx
	callq	_sldns_buffer_position
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_sldns_buffer_remaining
	xorl	%ecx, %ecx
	cmpl	$6, %eax
	jl	LBB0_10
## %bb.1:
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	movl	$4, %esi
	callq	_sldns_buffer_skip
	movq	%rbx, %rdi
	callq	_sldns_buffer_read_u16
	movl	%eax, %r13d
	movq	%rbx, %rdi
	callq	_sldns_buffer_remaining
	movl	%eax, %r12d
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_sldns_buffer_set_position
	cmpl	%r13d, %r12d
	jl	LBB0_9
## %bb.2:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rbx
	testq	%rbx, %rbx
	je	LBB0_9
## %bb.3:
	addq	$24, %r15
	leaq	-44(%rbp), %r12
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_9
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rbx), %rsi
	addq	$4, %rsi
	movq	%r12, %rdi
	movl	$4, %edx
	callq	_memmove
	movl	-44(%rbp), %edi
	callq	_ntohs
	movl	%eax, -44(%rbp)
	cmpl	%r13d, %eax
	jne	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	testl	%eax, %eax
	jle	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	8(%rbx), %rdi
	addq	$6, %rdi
	movq	%r15, %rsi
	movl	%r13d, %edx
	callq	_memcmp
	testq	%rax, %rax
	jne	LBB0_8
## %bb.7:
	movl	$1, %ecx
	jmp	LBB0_10
LBB0_9:
	xorl	%ecx, %ecx
LBB0_10:
	movl	%ecx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_sig_is_double
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sig_is_double
_sig_is_double:                         ; @sig_is_double
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	bl	_sldns_buffer_position
	mov	x23, x0
	mov	x0, x22
	bl	_sldns_buffer_remaining
	cmp	w0, #6
	b.lt	LBB0_8
; %bb.1:
	mov	x0, x22
	mov	w1, #4
	bl	_sldns_buffer_skip
	mov	x0, x22
	bl	_sldns_buffer_read_u16
	mov	x19, x0
	mov	x0, x22
	bl	_sldns_buffer_remaining
	mov	x24, x0
	mov	x0, x22
	mov	x1, x23
	bl	_sldns_buffer_set_position
	cmp	w24, w19
	b.lt	LBB0_8
; %bb.2:
	ldr	x21, [x21]
	cbz	x21, LBB0_8
; %bb.3:
	add	x20, x20, #24
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x21, [x21]
	cbz	x21, LBB0_8
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21, #8]
	add	x1, x8, #4
	add	x0, sp, #12
	mov	w2, #4
	bl	_memmove
	ldr	w0, [sp, #12]
	bl	_ntohs
	str	w0, [sp, #12]
	cmp	w0, w19
	ccmp	w0, #1, #8, eq
	b.lt	LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x21, #8]
	add	x0, x8, #6
	mov	x1, x20
	mov	x2, x19
	bl	_memcmp
	cbnz	x0, LBB0_4
; %bb.7:
	mov	w0, #1
	b	LBB0_9
LBB0_8:
	mov	w0, #0
LBB0_9:
	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
	add	sp, sp, #80
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_sig_is_double
.subsections_via_symbols
