	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dns_create
_dns_create:                            ## @dns_create
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movl	(%rsi), %esi
	movq	_SNMP_ERR_INCONS_VALUE@GOTPCREL(%rip), %r15
	cmpl	$64, %esi
	jg	LBB0_5
## %bb.1:
	movq	%rdi, %r14
	movq	8(%rbx), %rdi
	callq	_strnlen
	cmpl	(%rbx), %eax
	jne	LBB0_5
## %bb.2:
	movq	8(%rbx), %rdi
	incl	%eax
	movl	%eax, %esi
	callq	_realloc
	movq	%rax, (%r14)
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movslq	(%rbx), %rcx
	movb	$0, (%rax,%rcx)
	movq	$0, 8(%rbx)
	movl	4(%rbx), %edi
	callq	_htons
	movl	%eax, 8(%r14)
	movq	_SNMP_ERR_NOERROR@GOTPCREL(%rip), %r15
	jmp	LBB0_5
LBB0_3:
	movq	_SNMP_ERR_GENERR@GOTPCREL(%rip), %r15
LBB0_5:
	movl	(%r15), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SNMP_ERR_INCONS_VALUE,4,2      ## @SNMP_ERR_INCONS_VALUE
	.comm	_SNMP_ERR_GENERR,4,2            ## @SNMP_ERR_GENERR
	.comm	_SNMP_ERR_NOERROR,4,2           ## @SNMP_ERR_NOERROR
	.no_dead_strip	_dns_create
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dns_create
_dns_create:                            ; @dns_create
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	ldr	w1, [x1]
	cmp	w1, #64
	b.gt	LBB0_4
; %bb.1:
	mov	x19, x0
	ldr	x0, [x20, #8]
	bl	_strnlen
	ldr	w8, [x20]
	cmp	w0, w8
	b.ne	LBB0_4
; %bb.2:
	ldr	x8, [x20, #8]
	add	w1, w0, #1
	mov	x0, x8
	bl	_realloc
	str	x0, [x19]
	cbz	x0, LBB0_6
; %bb.3:
	ldrsw	x8, [x20]
	strb	wzr, [x0, x8]
	str	xzr, [x20, #8]
	ldr	w0, [x20, #4]
	bl	_htons
	str	w0, [x19, #8]
Lloh0:
	adrp	x8, _SNMP_ERR_NOERROR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SNMP_ERR_NOERROR@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
Lloh2:
	adrp	x8, _SNMP_ERR_INCONS_VALUE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SNMP_ERR_INCONS_VALUE@GOTPAGEOFF]
LBB0_5:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_6:
Lloh4:
	adrp	x8, _SNMP_ERR_GENERR@GOTPAGE
Lloh5:
	ldr	x8, [x8, _SNMP_ERR_GENERR@GOTPAGEOFF]
	b	LBB0_5
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_SNMP_ERR_INCONS_VALUE,4,2      ; @SNMP_ERR_INCONS_VALUE
	.comm	_SNMP_ERR_GENERR,4,2            ; @SNMP_ERR_GENERR
	.comm	_SNMP_ERR_NOERROR,4,2           ; @SNMP_ERR_NOERROR
	.no_dead_strip	_dns_create
.subsections_via_symbols
