	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ipaddrtonetmask
_ipaddrtonetmask:                       ## @ipaddrtonetmask
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	callq	_ntohl
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_IN_CLASSA
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_IN_CLASSA_NET@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	jmp	LBB0_7
LBB0_2:
	movl	%ebx, %edi
	callq	_IN_CLASSB
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	_IN_CLASSB_NET@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	jmp	LBB0_7
LBB0_4:
	movl	%ebx, %edi
	callq	_IN_CLASSC
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	_IN_CLASSC_NET@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	jmp	LBB0_7
LBB0_6:
	movq	_LOG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edx
	callq	_logmsg
	movl	$-1, %edi
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_htonl                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IN_CLASSA_NET,4,2              ## @IN_CLASSA_NET
	.comm	_IN_CLASSB_NET,4,2              ## @IN_CLASSB_NET
	.comm	_IN_CLASSC_NET,4,2              ## @IN_CLASSC_NET
	.comm	_LOG_DEBUG,4,2                  ## @LOG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unknown IP address class: %08X"

	.no_dead_strip	_ipaddrtonetmask
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ipaddrtonetmask
_ipaddrtonetmask:                       ; @ipaddrtonetmask
	.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
	bl	_ntohl
	mov	x19, x0
	bl	_IN_CLASSA
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _IN_CLASSA_NET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IN_CLASSA_NET@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	b	LBB0_7
LBB0_2:
	mov	x0, x19
	bl	_IN_CLASSB
	cbz	x0, LBB0_4
; %bb.3:
Lloh3:
	adrp	x8, _IN_CLASSB_NET@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IN_CLASSB_NET@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	b	LBB0_7
LBB0_4:
	mov	x0, x19
	bl	_IN_CLASSC
	cbz	x0, LBB0_6
; %bb.5:
Lloh6:
	adrp	x8, _IN_CLASSC_NET@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IN_CLASSC_NET@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	b	LBB0_7
LBB0_6:
Lloh9:
	adrp	x8, _LOG_DEBUG@GOTPAGE
Lloh10:
	ldr	x8, [x8, _LOG_DEBUG@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x19
	bl	_logmsg
	mov	w0, #-1
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_htonl
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_IN_CLASSA_NET,4,2              ; @IN_CLASSA_NET
	.comm	_IN_CLASSB_NET,4,2              ; @IN_CLASSB_NET
	.comm	_IN_CLASSC_NET,4,2              ; @IN_CLASSC_NET
	.comm	_LOG_DEBUG,4,2                  ; @LOG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unknown IP address class: %08X"

	.no_dead_strip	_ipaddrtonetmask
.subsections_via_symbols
