	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pfr_prepare_network
_pfr_prepare_network:                   ## @pfr_prepare_network
	.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
	movl	%edx, %r15d
	movl	%esi, %ebx
	movq	%rdi, %r14
	movl	$16, %esi
	callq	_bzero
	movq	_AF_INET@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jne	LBB0_5
## %bb.1:
	movl	$16, (%r14)
	movl	(%rax), %eax
	movl	%eax, 4(%r14)
	testl	%r15d, %r15d
	je	LBB0_2
## %bb.3:
	negb	%r15b
	movl	$-1, %edi
	movl	%r15d, %ecx
	shll	%cl, %edi
	callq	_htonl
	movq	%rax, 8(%r14)
	jmp	LBB0_17
LBB0_5:
	movq	_AF_INET6@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jne	LBB0_17
## %bb.6:
	movl	$16, (%r14)
	movl	(%rax), %eax
	movl	%eax, 4(%r14)
	cmpl	$32, %r15d
	jg	LBB0_10
## %bb.7:
	xorl	%ebx, %ebx
	movl	$0, %eax
	testl	%r15d, %r15d
	jne	LBB0_8
	jmp	LBB0_9
LBB0_2:
	xorl	%eax, %eax
	movq	%rax, 8(%r14)
	jmp	LBB0_17
LBB0_10:
	movq	8(%r14), %rax
	movl	$-1, (%rax)
	cmpl	$65, %r15d
	jae	LBB0_12
## %bb.11:
	addl	$-32, %r15d
	movl	$1, %ebx
	jmp	LBB0_8
LBB0_12:
	movq	8(%r14), %rax
	movl	$-1, 4(%rax)
	cmpl	$97, %r15d
	jae	LBB0_14
## %bb.13:
	addl	$-64, %r15d
	movl	$2, %ebx
	jmp	LBB0_8
LBB0_14:
	movq	8(%r14), %rax
	movl	$-1, 8(%rax)
	cmpl	$129, %r15d
	jae	LBB0_16
## %bb.15:
	addl	$-96, %r15d
	movl	$3, %ebx
LBB0_8:
	negb	%r15b
	movl	$-1, %edi
	movl	%r15d, %ecx
	shll	%cl, %edi
	callq	_htonl
LBB0_9:
	movq	8(%r14), %rcx
	movl	%eax, (%rcx,%rbx,4)
LBB0_17:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	movq	8(%r14), %rax
	movl	$-1, 12(%rax)
	jmp	LBB0_17
	.cfi_endproc
                                        ## -- End function
	.comm	_AF_INET,4,2                    ## @AF_INET
	.comm	_AF_INET6,4,2                   ## @AF_INET6
	.no_dead_strip	_pfr_prepare_network
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pfr_prepare_network
_pfr_prepare_network:                   ; @pfr_prepare_network
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	mov	w22, #16
	mov	w1, #16
	bl	_bzero
Lloh0:
	adrp	x8, _AF_INET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AF_INET@GOTPAGEOFF]
	ldr	w9, [x8]
	cmp	w9, w21
	b.ne	LBB0_3
; %bb.1:
	str	w22, [x19]
	ldr	w8, [x8]
	str	w8, [x19, #4]
	cbz	w20, LBB0_7
; %bb.2:
	neg	w8, w20
	mov	w9, #-1
	lsl	w0, w9, w8
	bl	_htonl
	str	x0, [x19, #8]
	b	LBB0_16
LBB0_3:
Lloh2:
	adrp	x8, _AF_INET6@GOTPAGE
Lloh3:
	ldr	x8, [x8, _AF_INET6@GOTPAGEOFF]
	ldr	w9, [x8]
	cmp	w9, w21
	b.ne	LBB0_16
; %bb.4:
	mov	w9, #16
	str	w9, [x19]
	ldr	w8, [x8]
	str	w8, [x19, #4]
	subs	w8, w20, #32
	b.gt	LBB0_8
; %bb.5:
	mov	x21, #0
	cbnz	w20, LBB0_14
; %bb.6:
	mov	w0, #0
	b	LBB0_15
LBB0_7:
	mov	x0, #0
	str	xzr, [x19, #8]
	b	LBB0_16
LBB0_8:
	ldr	x10, [x19, #8]
	mov	w9, #-1
	str	w9, [x10]
	cmp	w20, #65
	b.hs	LBB0_10
; %bb.9:
	mov	w21, #1
	mov	x20, x8
	b	LBB0_14
LBB0_10:
	ldr	x8, [x19, #8]
	str	w9, [x8, #4]
	cmp	w20, #97
	b.hs	LBB0_12
; %bb.11:
	sub	w20, w20, #64
	mov	w21, #2
	b	LBB0_14
LBB0_12:
	ldr	x9, [x19, #8]
	mov	w8, #-1
	str	w8, [x9, #8]
	cmp	w20, #129
	b.hs	LBB0_17
; %bb.13:
	sub	w20, w20, #96
	mov	w21, #3
LBB0_14:
	neg	w8, w20
	mov	w9, #-1
	lsl	w0, w9, w8
	bl	_htonl
LBB0_15:
	ldr	x8, [x19, #8]
	str	w0, [x8, x21, lsl #2]
LBB0_16:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_17:
	ldr	x9, [x19, #8]
	str	w8, [x9, #12]
	b	LBB0_16
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_AF_INET,4,2                    ; @AF_INET
	.comm	_AF_INET6,4,2                   ; @AF_INET6
	.no_dead_strip	_pfr_prepare_network
.subsections_via_symbols
