	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ip_fillid                      ## -- Begin function ip_fillid
	.p2align	4, 0x90
_ip_fillid:                             ## @ip_fillid
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_V_ip_rfc6864@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.1:
	movl	(%r14), %r15d
	movq	_IP_DF@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	callq	_htons
	movl	%eax, %ebx
	andl	%r15d, %ebx
	movl	(%r12), %edi
	callq	_htons
	movl	%eax, %ecx
	xorl	%eax, %eax
	cmpl	%ecx, %ebx
	je	LBB0_5
LBB0_2:
	movq	_V_ip_do_randomid@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_4
## %bb.3:
	xorl	%eax, %eax
	callq	_ip_randomid
	jmp	LBB0_5
LBB0_4:
	movq	_V_ip_id@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movl	$1, %esi
	callq	_counter_u64_add
	movl	(%rbx), %edi
	callq	_zpcpu_get
	movzwl	(%rax), %edi
	callq	_htons
LBB0_5:
	movl	%eax, 4(%r14)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_V_ip_rfc6864,8,3               ## @V_ip_rfc6864
	.comm	_IP_DF,4,2                      ## @IP_DF
	.comm	_V_ip_do_randomid,8,3           ## @V_ip_do_randomid
	.comm	_V_ip_id,4,2                    ## @V_ip_id
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ip_fillid                      ; -- Begin function ip_fillid
	.p2align	2
_ip_fillid:                             ; @ip_fillid
	.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	x19, x0
Lloh0:
	adrp	x8, _V_ip_rfc6864@GOTPAGE
Lloh1:
	ldr	x8, [x8, _V_ip_rfc6864@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_3
; %bb.1:
	ldr	w20, [x19]
Lloh3:
	adrp	x21, _IP_DF@GOTPAGE
Lloh4:
	ldr	x21, [x21, _IP_DF@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_htons
	and	w20, w0, w20
	ldr	w0, [x21]
	bl	_htons
	cmp	w20, w0
	b.ne	LBB0_3
; %bb.2:
	mov	w0, #0
	b	LBB0_6
LBB0_3:
Lloh5:
	adrp	x8, _V_ip_do_randomid@GOTPAGE
Lloh6:
	ldr	x8, [x8, _V_ip_do_randomid@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	cbz	x8, LBB0_5
; %bb.4:
	bl	_ip_randomid
	b	LBB0_6
LBB0_5:
Lloh8:
	adrp	x20, _V_ip_id@GOTPAGE
Lloh9:
	ldr	x20, [x20, _V_ip_id@GOTPAGEOFF]
	ldr	w0, [x20]
	mov	w1, #1
	bl	_counter_u64_add
	ldr	w0, [x20]
	bl	_zpcpu_get
	ldrh	w0, [x0]
	bl	_htons
LBB0_6:
	str	w0, [x19, #4]
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_V_ip_rfc6864,8,3               ; @V_ip_rfc6864
	.comm	_IP_DF,4,2                      ; @IP_DF
	.comm	_V_ip_do_randomid,8,3           ; @V_ip_do_randomid
	.comm	_V_ip_id,4,2                    ; @V_ip_id
.subsections_via_symbols
