	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cipso_v4_error                 ## -- Begin function cipso_v4_error
	.p2align	4, 0x90
_cipso_v4_error:                        ## @cipso_v4_error
	.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
	movq	%rdx, %r14
	movl	%esi, %ebx
	movq	%rdi, %r15
	callq	_ip_hdr
	movq	(%rax), %rax
	movq	_IPPROTO_ICMP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_6
## %bb.1:
	movq	_EACCES@GOTPCREL(%rip), %rax
	addl	(%rax), %ebx
	jne	LBB0_6
## %bb.2:
	movq	_ICMP_DEST_UNREACH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	testq	%r14, %r14
	jne	LBB0_3
## %bb.4:
	movq	_ICMP_HOST_ANO@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	_ICMP_NET_ANO@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %edx
	movq	%r15, %rdi
	xorl	%ecx, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_icmp_send                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IPPROTO_ICMP,8,3               ## @IPPROTO_ICMP
	.comm	_EACCES,4,2                     ## @EACCES
	.comm	_ICMP_DEST_UNREACH,4,2          ## @ICMP_DEST_UNREACH
	.comm	_ICMP_NET_ANO,4,2               ## @ICMP_NET_ANO
	.comm	_ICMP_HOST_ANO,4,2              ## @ICMP_HOST_ANO
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cipso_v4_error                 ; -- Begin function cipso_v4_error
	.p2align	2
_cipso_v4_error:                        ; @cipso_v4_error
	.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
	bl	_ip_hdr
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _IPPROTO_ICMP@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IPPROTO_ICMP@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_3
; %bb.1:
Lloh3:
	adrp	x8, _EACCES@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EACCES@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmn	w8, w21
	b.ne	LBB0_3
; %bb.2:
Lloh6:
	adrp	x8, _ICMP_DEST_UNREACH@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ICMP_DEST_UNREACH@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x8, _ICMP_HOST_ANO@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ICMP_HOST_ANO@GOTPAGEOFF]
Lloh11:
	adrp	x9, _ICMP_NET_ANO@GOTPAGE
Lloh12:
	ldr	x9, [x9, _ICMP_NET_ANO@GOTPAGEOFF]
	cmp	x20, #0
	csel	x8, x8, x9, eq
	ldr	w2, [x8]
	mov	x0, x19
	mov	w3, #0
	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
	b	_icmp_send
LBB0_3:
	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 AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_IPPROTO_ICMP,8,3               ; @IPPROTO_ICMP
	.comm	_EACCES,4,2                     ; @EACCES
	.comm	_ICMP_DEST_UNREACH,4,2          ; @ICMP_DEST_UNREACH
	.comm	_ICMP_NET_ANO,4,2               ; @ICMP_NET_ANO
	.comm	_ICMP_HOST_ANO,4,2              ; @ICMP_HOST_ANO
.subsections_via_symbols
