	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ip_cmsg_recv_security
_ip_cmsg_recv_security:                 ## @ip_cmsg_recv_security
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	leaq	-16(%rbp), %rdx
	xorl	%edi, %edi
	callq	_security_socket_getpeersec_dgram
	testl	%eax, %eax
	jne	LBB0_3
## %bb.1:
	movl	-16(%rbp), %edi
	leaq	-24(%rbp), %rsi
	leaq	-12(%rbp), %rdx
	callq	_security_secid_to_secctx
	testl	%eax, %eax
	jne	LBB0_3
## %bb.2:
	movq	_SOL_IP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SCM_SECURITY@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	-12(%rbp), %ecx
	movq	-24(%rbp), %r8
	movq	%rbx, %rdi
	callq	_put_cmsg
	movq	-24(%rbp), %rdi
	movl	-12(%rbp), %esi
	callq	_security_release_secctx
LBB0_3:
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SOL_IP,4,2                     ## @SOL_IP
	.comm	_SCM_SECURITY,4,2               ## @SCM_SECURITY
	.no_dead_strip	_ip_cmsg_recv_security
.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_security
_ip_cmsg_recv_security:                 ; @ip_cmsg_recv_security
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
	mov	x2, sp
	mov	x0, #0
	bl	_security_socket_getpeersec_dgram
	cbnz	w0, LBB0_3
; %bb.1:
	ldr	w0, [sp]
	add	x1, sp, #8
	add	x2, sp, #4
	bl	_security_secid_to_secctx
	cbnz	w0, LBB0_3
; %bb.2:
Lloh0:
	adrp	x8, _SOL_IP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SOL_IP@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _SCM_SECURITY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SCM_SECURITY@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	ldr	w3, [sp, #4]
	ldr	x4, [sp, #8]
	mov	x0, x19
	bl	_put_cmsg
	ldr	x0, [sp, #8]
	ldr	w1, [sp, #4]
	bl	_security_release_secctx
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SOL_IP,4,2                     ; @SOL_IP
	.comm	_SCM_SECURITY,4,2               ; @SCM_SECURITY
	.no_dead_strip	_ip_cmsg_recv_security
.subsections_via_symbols
