	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_calc_edns_field_size           ## -- Begin function calc_edns_field_size
	.p2align	4, 0x90
_calc_edns_field_size:                  ## @calc_edns_field_size
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	xorl	%eax, %eax
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.1:
	cmpl	$0, 8(%rdi)
	je	LBB0_6
## %bb.2:
	movq	(%rdi), %rcx
	testq	%rcx, %rcx
	je	LBB0_7
## %bb.3:
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rcx), %rdx
	movq	8(%rcx), %rcx
	addq	%rdx, %rax
	addq	$4, %rax
	testq	%rcx, %rcx
	jne	LBB0_4
## %bb.5:
	addl	$11, %eax
LBB0_6:
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
LBB0_7:
	movl	$11, %eax
                                        ## kill: def $eax killed $eax killed $rax
	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	_calc_edns_field_size           ; -- Begin function calc_edns_field_size
	.p2align	2
_calc_edns_field_size:                  ; @calc_edns_field_size
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_6
; %bb.1:
	ldr	w8, [x0, #8]
	cbz	w8, LBB0_7
; %bb.2:
	ldr	x8, [x0]
	cbz	x8, LBB0_8
; %bb.3:
	mov	x9, #0
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldp	x10, x8, [x8]
	add	x9, x9, x10
	add	x9, x9, #4
	cbnz	x8, LBB0_4
; %bb.5:
	add	w0, w9, #11
LBB0_6:
	ret
LBB0_7:
	mov	w0, #0
	ret
LBB0_8:
	mov	w0, #11
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
