	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ip_cmsg_recv_retopts
_ip_cmsg_recv_retopts:                  ## @ip_cmsg_recv_retopts
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$64, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -24(%rbp)
	movq	%rsi, %rdi
	callq	_IPCB
	cmpq	$0, (%rax)
	je	LBB0_4
## %bb.1:
	leaq	-80(%rbp), %rdi
	movq	%rbx, %rsi
	callq	_ip_options_echo
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	_MSG_CTRUNC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r14)
	jmp	LBB0_4
LBB0_3:
	leaq	-80(%rbp), %rdi
	callq	_ip_options_undo
	movq	_SOL_IP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_IP_RETOPTS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	-80(%rbp), %r8d
	movl	-76(%rbp), %ecx
	movq	%r14, %rdi
	callq	_put_cmsg
LBB0_4:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-24(%rbp), %rax
	jne	LBB0_6
## %bb.5:
	addq	$64, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_6:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_CTRUNC,4,2                 ## @MSG_CTRUNC
	.comm	_SOL_IP,4,2                     ## @SOL_IP
	.comm	_IP_RETOPTS,4,2                 ## @IP_RETOPTS
	.no_dead_strip	_ip_cmsg_recv_retopts
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ip_cmsg_recv_retopts
_ip_cmsg_recv_retopts:                  ; @ip_cmsg_recv_retopts
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-24]
	mov	x0, x1
	bl	_IPCB
	ldr	x8, [x0]
	cbz	x8, LBB0_4
; %bb.1:
	add	x0, sp, #8
	mov	x1, x20
	bl	_ip_options_echo
	cbz	x0, LBB0_3
; %bb.2:
Lloh3:
	adrp	x8, _MSG_CTRUNC@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MSG_CTRUNC@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
	b	LBB0_4
LBB0_3:
	add	x0, sp, #8
	bl	_ip_options_undo
Lloh6:
	adrp	x8, _SOL_IP@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SOL_IP@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x8, _IP_RETOPTS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _IP_RETOPTS@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	ldp	w4, w3, [sp, #8]
	mov	x0, x19
	bl	_put_cmsg
LBB0_4:
	ldur	x8, [x29, #-24]
Lloh12:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh13:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_6
; %bb.5:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_6:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_CTRUNC,4,2                 ; @MSG_CTRUNC
	.comm	_SOL_IP,4,2                     ; @SOL_IP
	.comm	_IP_RETOPTS,4,2                 ; @IP_RETOPTS
	.no_dead_strip	_ip_cmsg_recv_retopts
.subsections_via_symbols
