	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function netbits_to_netmask
_netbits_to_netmask:                    ## @netbits_to_netmask
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%edi, %ecx
	leal	-1(%rcx), %edx
	movq	_IPV4_NETMASK_HOST@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	negb	%cl
                                        ## kill: def $cl killed $cl killed $rcx
	shll	%cl, %esi
	xorl	%eax, %eax
	cmpl	$32, %edx
	cmovbl	%esi, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IPV4_NETMASK_HOST,4,2          ## @IPV4_NETMASK_HOST
	.no_dead_strip	_netbits_to_netmask
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function netbits_to_netmask
_netbits_to_netmask:                    ; @netbits_to_netmask
	.cfi_startproc
; %bb.0:
	sub	w8, w0, #1
Lloh0:
	adrp	x9, _IPV4_NETMASK_HOST@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IPV4_NETMASK_HOST@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	neg	w10, w0
	lsl	w9, w9, w10
	cmp	w8, #32
	csel	w0, w9, wzr, lo
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_IPV4_NETMASK_HOST,4,2          ; @IPV4_NETMASK_HOST
	.no_dead_strip	_netbits_to_netmask
.subsections_via_symbols
