	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sockaddr_masktoprefixlen       ## -- Begin function sockaddr_masktoprefixlen
	.p2align	4, 0x90
_sockaddr_masktoprefixlen:              ## @sockaddr_masktoprefixlen
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	callq	_ZERO
	movl	$4, %edi
	movl	$4, %esi
	callq	_min
	leaq	-32(%rbp), %r14
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	_memcpy
	leaq	-36(%rbp), %rbx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_isc_netaddr_fromsockaddr
	leaq	-24(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_isc_netaddr_masktoprefixlen
	movq	%rax, %rcx
	movq	_ISC_R_SUCCESS@GOTPCREL(%rip), %rdx
	movl	$-1, %eax
	cmpq	%rcx, (%rdx)
	jne	LBB0_2
## %bb.1:
	movl	-24(%rbp), %eax
LBB0_2:
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ISC_R_SUCCESS,8,3              ## @ISC_R_SUCCESS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sockaddr_masktoprefixlen       ; -- Begin function sockaddr_masktoprefixlen
	.p2align	2
_sockaddr_masktoprefixlen:              ; @sockaddr_masktoprefixlen
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	mov	x0, #0
	bl	_ZERO
	mov	w0, #4
	mov	w1, #4
	bl	_min
	mov	x2, x0
	add	x0, sp, #8
	mov	x1, x19
	bl	_memcpy
	add	x0, sp, #12
	add	x1, sp, #8
	bl	_isc_netaddr_fromsockaddr
	add	x0, sp, #12
	mov	x1, sp
	bl	_isc_netaddr_masktoprefixlen
Lloh0:
	adrp	x8, _ISC_R_SUCCESS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ISC_R_SUCCESS@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	w9, [sp]
	cmp	x8, x0
	csinv	w0, w9, wzr, eq
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ISC_R_SUCCESS,8,3              ; @ISC_R_SUCCESS
.subsections_via_symbols
