	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function kvp_process_ip_address
_kvp_process_ip_address:                ## @kvp_process_ip_address
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r14
	movl	%ecx, %r13d
	movq	%rdx, %r12
	movl	%esi, %ebx
	movq	%rdi, %rsi
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_AF_INET@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	leaq	-112(%rbp), %rdx
	movl	%ebx, %edi
	movl	$50, %ecx
	callq	_inet_ntop
	cmpl	%ebx, %r15d
	jne	LBB0_1
## %bb.2:
	movq	_INET_ADDRSTRLEN@GOTPCREL(%rip), %rcx
	jmp	LBB0_3
LBB0_1:
	movq	_INET6_ADDRSTRLEN@GOTPCREL(%rip), %rcx
LBB0_3:
	movl	(%r14), %esi
	movl	%r13d, %edx
	subl	%esi, %edx
	cmpl	(%rcx), %edx
	jle	LBB0_4
## %bb.5:
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movq	%rax, %r15
	testl	%esi, %esi
	je	LBB0_8
## %bb.9:
	leaq	-112(%rbp), %rsi
	movq	%r12, %rdi
	movl	%r13d, %edx
	callq	_strlcat
	jmp	LBB0_10
LBB0_4:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_11
LBB0_6:
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	movl	%r13d, %edx
	callq	_strlcpy
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_11
LBB0_8:
	leaq	-112(%rbp), %rsi
	movq	%r12, %rdi
	movl	%r13d, %edx
	callq	_strlcpy
LBB0_10:
	leaq	L_.str.1(%rip), %rsi
	movq	%r12, %rdi
	movl	%r13d, %edx
	callq	_strlcat
	movq	%r15, %rdi
	callq	_strlen
	movl	(%r14), %ecx
	addl	%ecx, %eax
	incl	%eax
	movl	%eax, (%r14)
	xorl	%eax, %eax
LBB0_11:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_13
## %bb.12:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_AF_INET,4,2                    ## @AF_INET
	.comm	_INET_ADDRSTRLEN,4,2            ## @INET_ADDRSTRLEN
	.comm	_INET6_ADDRSTRLEN,4,2           ## @INET6_ADDRSTRLEN
	.comm	_EINVAL,4,2                     ## @EINVAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"inet_ntop failed\n"

	.comm	_errno,4,2                      ## @errno
L_.str.1:                               ## @.str.1
	.asciz	";"

	.no_dead_strip	_kvp_process_ip_address
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function kvp_process_ip_address
_kvp_process_ip_address:                ; @kvp_process_ip_address
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	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
	mov	x19, x4
	mov	x20, x3
	mov	x21, x2
	mov	x23, x1
	mov	x1, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #56]
Lloh3:
	adrp	x8, _AF_INET@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AF_INET@GOTPAGEOFF]
Lloh5:
	ldr	w24, [x8]
	add	x2, sp, #6
	mov	x0, x23
	mov	w3, #50
	bl	_inet_ntop
Lloh6:
	adrp	x8, _INET_ADDRSTRLEN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _INET_ADDRSTRLEN@GOTPAGEOFF]
Lloh8:
	adrp	x9, _INET6_ADDRSTRLEN@GOTPAGE
Lloh9:
	ldr	x9, [x9, _INET6_ADDRSTRLEN@GOTPAGEOFF]
	cmp	w24, w23
	csel	x8, x8, x9, eq
	ldr	w9, [x8]
	ldr	w8, [x19]
	sub	w10, w20, w8
	cmp	w10, w9
	b.le	LBB0_4
; %bb.1:
	mov	x22, x0
	cbz	x0, LBB0_5
; %bb.2:
	add	x1, sp, #6
	mov	x0, x21
	mov	x2, x20
	cbz	w8, LBB0_6
; %bb.3:
	bl	_strlcat
	b	LBB0_7
LBB0_4:
Lloh10:
	adrp	x8, _EINVAL@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	b	LBB0_8
LBB0_5:
Lloh13:
	adrp	x1, l_.str@PAGE
Lloh14:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	mov	x2, x20
	bl	_strlcpy
Lloh15:
	adrp	x8, _errno@GOTPAGE
Lloh16:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	b	LBB0_8
LBB0_6:
	bl	_strlcpy
LBB0_7:
Lloh18:
	adrp	x1, l_.str.1@PAGE
Lloh19:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	mov	x2, x20
	bl	_strlcat
	mov	x0, x22
	bl	_strlen
	mov	x8, x0
	mov	w0, #0
	ldr	w9, [x19]
	add	w8, w8, w9
	add	w8, w8, #1
	str	w8, [x19]
LBB0_8:
	ldr	x8, [sp, #56]
Lloh20:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh21:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_10
; %bb.9:
	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
	add	sp, sp, #128
	ret
LBB0_10:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_AF_INET,4,2                    ; @AF_INET
	.comm	_INET_ADDRSTRLEN,4,2            ; @INET_ADDRSTRLEN
	.comm	_INET6_ADDRSTRLEN,4,2           ; @INET6_ADDRSTRLEN
	.comm	_EINVAL,4,2                     ; @EINVAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"inet_ntop failed\n"

	.comm	_errno,4,2                      ; @errno
l_.str.1:                               ; @.str.1
	.asciz	";"

	.no_dead_strip	_kvp_process_ip_address
.subsections_via_symbols
