	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sldns_wire2str_edns_scan       ## -- Begin function sldns_wire2str_edns_scan
	.p2align	4, 0x90
_sldns_wire2str_edns_scan:              ## @sldns_wire2str_edns_scan
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -96(%rbp)                  ## 8-byte Spill
	movq	%r8, -48(%rbp)                  ## 8-byte Spill
	movq	%rcx, %r14
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movq	%rdi, %r12
	leaq	L_.str(%rip), %rdx
	movq	%r15, %rdi
	movq	%rcx, %rsi
	xorl	%eax, %eax
	callq	_sldns_str_print
	movq	%rax, %r13
	movq	(%rbx), %rax
	cmpq	$10, %rax
	ja	LBB0_3
## %bb.1:
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_2
LBB0_3:
	movq	(%r12), %rdi
	cmpq	$0, (%rdi)
	je	LBB0_5
## %bb.4:
	leaq	L_.str.2(%rip), %rdi
	jmp	LBB0_2
LBB0_5:
	addq	$8, %rdi
	movq	%rdi, (%r12)
	decq	%rax
	movq	%rax, (%rbx)
	callq	_sldns_read_uint16
	movq	_LDNS_RR_TYPE_OPT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.7:
	movq	(%r12), %rdi
	addq	$16, %rdi
	callq	_sldns_read_uint16
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	(%r12), %rdi
	movq	32(%rdi), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	40(%rdi), %eax
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	addq	$48, %rdi
	callq	_sldns_read_uint16
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	(%r12), %rdi
	addq	$64, %rdi
	callq	_sldns_read_uint16
	addq	$80, (%r12)
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	addq	$-10, (%rbx)
	leaq	L_.str.4(%rip), %rdx
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	-64(%rbp), %ecx                 ## 4-byte Reload
	xorl	%eax, %eax
	callq	_sldns_str_print
	addq	%r13, %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	leaq	L_.str.5(%rip), %rdx
	movq	%r15, %rdi
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_sldns_str_print
	movq	%rax, %r13
	addq	-64(%rbp), %r13                 ## 8-byte Folded Reload
	movq	_LDNS_EDNS_MASK_DO_BIT@GOTPCREL(%rip), %rax
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	testl	%ecx, (%rax)
	je	LBB0_9
## %bb.8:
	leaq	L_.str.6(%rip), %rdx
	movq	%r15, %rdi
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_sldns_str_print
	addq	%rax, %r13
LBB0_9:
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	testq	%r8, %r8
	je	LBB0_10
## %bb.11:
	shll	$4, %r8d
	cmpq	$0, -48(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_14
## %bb.12:
	movq	_LDNS_HEADER_SIZE@GOTPCREL(%rip), %rax
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	cmpq	%rcx, (%rax)
	ja	LBB0_14
## %bb.13:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r8, -56(%rbp)                  ## 8-byte Spill
	callq	_LDNS_RCODE_WIRE
	orl	-56(%rbp), %eax                 ## 4-byte Folded Reload
	movl	%eax, %r8d
LBB0_14:
	leaq	L_.str.7(%rip), %rdx
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	%r8d, %ecx
	xorl	%eax, %eax
	callq	_sldns_str_print
	addl	%r13d, %eax
                                        ## kill: def $eax killed $eax killed $rax def $rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	jmp	LBB0_15
LBB0_6:
	leaq	L_.str.3(%rip), %rdi
LBB0_2:
	movq	%r12, %rsi
	movq	%rbx, %rdx
	movq	%r15, %rcx
	movq	%r14, %r8
	callq	_print_remainder_hex
                                        ## kill: def $eax killed $eax def $rax
LBB0_20:
	addl	%r13d, %eax
                                        ## kill: def $eax killed $eax killed $rax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movq	%r13, -48(%rbp)                 ## 8-byte Spill
LBB0_15:
	leaq	L_.str.8(%rip), %rdx
	movq	%r15, %rdi
	movq	%r14, %rsi
                                        ## kill: def $ecx killed $ecx killed $rcx
	xorl	%eax, %eax
	callq	_sldns_str_print
	movq	%rax, %r13
	addl	-48(%rbp), %r13d                ## 4-byte Folded Reload
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	testl	%ecx, %ecx
	je	LBB0_19
## %bb.16:
	movslq	%ecx, %rax
	cmpq	%rax, (%rbx)
	jae	LBB0_18
## %bb.17:
	leaq	L_.str.9(%rip), %rdx
	movq	%r15, %rdi
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_sldns_str_print
	addl	%eax, %r13d
	movl	(%rbx), %ecx
LBB0_18:
	movq	(%r12), %rdx
	movq	%r15, %rdi
	movq	%r14, %rsi
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
                                        ## kill: def $ecx killed $ecx killed $rcx
	callq	_print_edns_opts
	movslq	-80(%rbp), %rcx                 ## 4-byte Folded Reload
	leaq	(,%rcx,8), %rdx
	addq	%rdx, (%r12)
	addl	%r13d, %eax
	subq	%rcx, (%rbx)
	movl	%eax, %r13d
LBB0_19:
	leaq	L_.str.10(%rip), %rdx
	movq	%r15, %rdi
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_sldns_str_print
	jmp	LBB0_20
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"; EDNS:"

L_.str.1:                               ## @.str.1
	.asciz	"Error malformed 0x"

L_.str.2:                               ## @.str.2
	.asciz	"Error nonrootdname 0x"

	.comm	_LDNS_RR_TYPE_OPT,8,3           ## @LDNS_RR_TYPE_OPT
L_.str.3:                               ## @.str.3
	.asciz	"Error nottypeOPT 0x"

L_.str.4:                               ## @.str.4
	.asciz	" version: %u;"

L_.str.5:                               ## @.str.5
	.asciz	" flags:"

	.comm	_LDNS_EDNS_MASK_DO_BIT,4,2      ## @LDNS_EDNS_MASK_DO_BIT
L_.str.6:                               ## @.str.6
	.asciz	" do"

	.comm	_LDNS_HEADER_SIZE,8,3           ## @LDNS_HEADER_SIZE
L_.str.7:                               ## @.str.7
	.asciz	" ; ext-rcode: %d"

L_.str.8:                               ## @.str.8
	.asciz	" ; udp: %u"

L_.str.9:                               ## @.str.9
	.asciz	" ; Error EDNS rdata too short; "

L_.str.10:                              ## @.str.10
	.asciz	"\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sldns_wire2str_edns_scan       ; -- Begin function sldns_wire2str_edns_scan
	.p2align	2
_sldns_wire2str_edns_scan:              ; @sldns_wire2str_edns_scan
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x25, x5
	mov	x24, x4
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
Lloh0:
	adrp	x2, l_.str@PAGE
Lloh1:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x20
	mov	x1, x3
	bl	_sldns_str_print
	mov	x27, x0
	ldr	x8, [x21]
	cmp	x8, #10
	b.hi	LBB0_2
; %bb.1:
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_18
LBB0_2:
	ldr	x9, [x22]
	ldr	x10, [x9]
	cbz	x10, LBB0_4
; %bb.3:
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_18
LBB0_4:
	add	x0, x9, #8
	str	x0, [x22]
	sub	x8, x8, #1
	str	x8, [x21]
	bl	_sldns_read_uint16
Lloh6:
	adrp	x8, _LDNS_RR_TYPE_OPT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _LDNS_RR_TYPE_OPT@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_17
; %bb.5:
	ldr	x8, [x22]
	add	x0, x8, #16
	bl	_sldns_read_uint16
	ldr	x8, [x22]
	ldp	x9, x26, [x8, #32]
	stp	x9, x0, [sp, #16]               ; 16-byte Folded Spill
	add	x0, x8, #48
	bl	_sldns_read_uint16
	mov	x28, x0
	ldr	x8, [x22]
	add	x0, x8, #64
	bl	_sldns_read_uint16
	mov	x23, x0
	ldr	x8, [x22]
	add	x8, x8, #80
	str	x8, [x22]
	ldr	x8, [x21]
	sub	x8, x8, #10
	str	x8, [x21]
	str	x26, [sp]
Lloh9:
	adrp	x2, l_.str.4@PAGE
Lloh10:
	add	x2, x2, l_.str.4@PAGEOFF
	mov	x0, x20
	mov	x1, x19
	bl	_sldns_str_print
	add	x26, x0, x27
Lloh11:
	adrp	x2, l_.str.5@PAGE
Lloh12:
	add	x2, x2, l_.str.5@PAGEOFF
	mov	x0, x20
	mov	x1, x19
	bl	_sldns_str_print
	add	x27, x26, x0
Lloh13:
	adrp	x8, _LDNS_EDNS_MASK_DO_BIT@GOTPAGE
Lloh14:
	ldr	x8, [x8, _LDNS_EDNS_MASK_DO_BIT@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	tst	w8, w28
	b.eq	LBB0_7
; %bb.6:
Lloh16:
	adrp	x2, l_.str.6@PAGE
Lloh17:
	add	x2, x2, l_.str.6@PAGEOFF
	mov	x0, x20
	mov	x1, x19
	bl	_sldns_str_print
	add	x27, x0, x27
LBB0_7:
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	cbz	x8, LBB0_12
; %bb.8:
	lsl	w26, w8, #4
	cbz	x24, LBB0_11
; %bb.9:
Lloh18:
	adrp	x8, _LDNS_HEADER_SIZE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _LDNS_HEADER_SIZE@GOTPAGEOFF]
Lloh20:
	ldr	x8, [x8]
	cmp	x8, x25
	b.hi	LBB0_11
; %bb.10:
	mov	x0, x24
	bl	_LDNS_RCODE_WIRE
	orr	w26, w0, w26
LBB0_11:
	str	x26, [sp]
Lloh21:
	adrp	x2, l_.str.7@PAGE
Lloh22:
	add	x2, x2, l_.str.7@PAGEOFF
	mov	x0, x20
	mov	x1, x19
	bl	_sldns_str_print
	add	w27, w0, w27
LBB0_12:
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
	str	x8, [sp]
Lloh23:
	adrp	x2, l_.str.8@PAGE
Lloh24:
	add	x2, x2, l_.str.8@PAGEOFF
	mov	x0, x20
	mov	x1, x19
	bl	_sldns_str_print
	add	w24, w27, w0
	cbz	w23, LBB0_16
; %bb.13:
	ldr	x8, [x21]
	cmp	x8, w23, sxtw
	b.hs	LBB0_15
; %bb.14:
Lloh25:
	adrp	x2, l_.str.9@PAGE
Lloh26:
	add	x2, x2, l_.str.9@PAGEOFF
	mov	x0, x20
	mov	x1, x19
	bl	_sldns_str_print
	add	w24, w24, w0
	ldr	w23, [x21]
LBB0_15:
	ldr	x2, [x22]
	mov	x0, x20
	mov	x1, x19
	mov	x3, x23
	bl	_print_edns_opts
	add	w24, w24, w0
	ldr	x8, [x22]
	mov	x9, x23
	sxtw	x9, w9
	add	x8, x8, w23, sxtw #3
	str	x8, [x22]
	ldr	x8, [x21]
	sub	x8, x8, x9
	str	x8, [x21]
LBB0_16:
Lloh27:
	adrp	x2, l_.str.10@PAGE
Lloh28:
	add	x2, x2, l_.str.10@PAGEOFF
	mov	x0, x20
	mov	x1, x19
	bl	_sldns_str_print
	add	w0, w24, w0
	b	LBB0_19
LBB0_17:
Lloh29:
	adrp	x0, l_.str.3@PAGE
Lloh30:
	add	x0, x0, l_.str.3@PAGEOFF
LBB0_18:
	mov	x1, x22
	mov	x2, x21
	mov	x3, x20
	mov	x4, x19
	bl	_print_remainder_hex
	add	w0, w0, w27
LBB0_19:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"; EDNS:"

l_.str.1:                               ; @.str.1
	.asciz	"Error malformed 0x"

l_.str.2:                               ; @.str.2
	.asciz	"Error nonrootdname 0x"

	.comm	_LDNS_RR_TYPE_OPT,8,3           ; @LDNS_RR_TYPE_OPT
l_.str.3:                               ; @.str.3
	.asciz	"Error nottypeOPT 0x"

l_.str.4:                               ; @.str.4
	.asciz	" version: %u;"

l_.str.5:                               ; @.str.5
	.asciz	" flags:"

	.comm	_LDNS_EDNS_MASK_DO_BIT,4,2      ; @LDNS_EDNS_MASK_DO_BIT
l_.str.6:                               ; @.str.6
	.asciz	" do"

	.comm	_LDNS_HEADER_SIZE,8,3           ; @LDNS_HEADER_SIZE
l_.str.7:                               ; @.str.7
	.asciz	" ; ext-rcode: %d"

l_.str.8:                               ; @.str.8
	.asciz	" ; udp: %u"

l_.str.9:                               ; @.str.9
	.asciz	" ; Error EDNS rdata too short; "

l_.str.10:                              ; @.str.10
	.asciz	"\n"

.subsections_via_symbols
