	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xfrm_user_rcv_msg
_xfrm_user_rcv_msg:                     ## @xfrm_user_rcv_msg
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	(%rdi), %edi
	callq	_sock_net
	movq	%rax, %rbx
	movq	_XFRMA_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	incl	%eax
	shlq	$3, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rcx
	movslq	(%r14), %r15
	movq	_XFRM_MSG_MAX@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r15d
	jle	LBB0_3
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_3:
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movq	_XFRM_MSG_BASE@GOTPCREL(%rip), %rax
	movslq	(%rax), %r12
	movq	_xfrm_dispatch@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	_CAP_NET_ADMIN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_security_netlink_recv
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	_EPERM@GOTPCREL(%rip), %rcx
LBB0_2:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_13:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_15
## %bb.14:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	subq	%r12, %r15
	movq	_XFRM_MSG_GETSA@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_XFRM_MSG_BASE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	subl	%eax, %ecx
	cmpl	%ecx, %r15d
	je	LBB0_7
## %bb.6:
	movq	_XFRM_MSG_GETPOLICY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	subl	%eax, %ecx
	cmpl	%ecx, %r15d
	jne	LBB0_10
LBB0_7:
	movq	_NLM_F_DUMP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 4(%r14)
	je	LBB0_10
## %bb.8:
	leaq	(%r15,%r15,2), %rcx
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	16(%rdx,%rcx,8), %rax
	testq	%rax, %rax
	je	LBB0_1
## %bb.9:
	movl	8(%rdx,%rcx,8), %ecx
	movl	%ecx, -88(%rbp)
	movq	%rax, -80(%rbp)
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	leaq	-88(%rbp), %rcx
	movq	%r13, %rsi
	movq	%r14, %rdx
	callq	_netlink_dump_start
	jmp	LBB0_13
LBB0_10:
	movq	_xfrm_msg_min@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%r15,4), %esi
	movq	_XFRMA_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_xfrma_policy@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r14, %rdi
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdx
	callq	_nlmsg_parse
	testl	%eax, %eax
	js	LBB0_13
## %bb.11:
	leaq	(%r15,%r15,2), %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx,%rax,8), %rcx
	testq	%rcx, %rcx
	je	LBB0_1
## %bb.12:
	movq	%r13, %rdi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	callq	*%rcx
	jmp	LBB0_13
LBB0_15:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_XFRMA_MAX,4,2                  ## @XFRMA_MAX
	.comm	_XFRM_MSG_MAX,4,2               ## @XFRM_MSG_MAX
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_XFRM_MSG_BASE,4,2              ## @XFRM_MSG_BASE
	.comm	_xfrm_dispatch,8,3              ## @xfrm_dispatch
	.comm	_CAP_NET_ADMIN,4,2              ## @CAP_NET_ADMIN
	.comm	_EPERM,4,2                      ## @EPERM
	.comm	_XFRM_MSG_GETSA,4,2             ## @XFRM_MSG_GETSA
	.comm	_XFRM_MSG_GETPOLICY,4,2         ## @XFRM_MSG_GETPOLICY
	.comm	_NLM_F_DUMP,4,2                 ## @NLM_F_DUMP
	.comm	_xfrm_msg_min,8,3               ## @xfrm_msg_min
	.comm	_xfrma_policy,4,2               ## @xfrma_policy
	.no_dead_strip	_xfrm_user_rcv_msg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xfrm_user_rcv_msg
_xfrm_user_rcv_msg:                     ; @xfrm_user_rcv_msg
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #32
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	ldr	w0, [x0]
	bl	_sock_net
	mov	x22, x0
Lloh3:
	adrp	x24, _XFRMA_MAX@GOTPAGE
Lloh4:
	ldr	x24, [x24, _XFRMA_MAX@GOTPAGEOFF]
	ldr	w8, [x24]
	add	w8, w8, #1
	lsl	x8, x8, #3
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0xffffffff0
	sub	x21, x9, x8
	mov	sp, x21
	ldr	w25, [x19]
Lloh7:
	adrp	x8, _XFRM_MSG_MAX@GOTPAGE
Lloh8:
	ldr	x8, [x8, _XFRM_MSG_MAX@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	cmp	w25, w8
	b.le	LBB0_2
LBB0_1:
Lloh10:
	adrp	x8, _EINVAL@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:
Lloh12:
	adrp	x26, _XFRM_MSG_BASE@GOTPAGE
Lloh13:
	ldr	x26, [x26, _XFRM_MSG_BASE@GOTPAGEOFF]
	ldr	w27, [x26]
Lloh14:
	adrp	x8, _xfrm_dispatch@GOTPAGE
Lloh15:
	ldr	x8, [x8, _xfrm_dispatch@GOTPAGEOFF]
Lloh16:
	ldr	x23, [x8]
Lloh17:
	adrp	x8, _CAP_NET_ADMIN@GOTPAGE
Lloh18:
	ldr	x8, [x8, _CAP_NET_ADMIN@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_security_netlink_recv
	cbz	x0, LBB0_7
; %bb.3:
Lloh20:
	adrp	x8, _EPERM@GOTPAGE
Lloh21:
	ldr	x8, [x8, _EPERM@GOTPAGEOFF]
LBB0_4:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_5:
	ldur	x8, [x29, #-88]
Lloh22:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh23:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh24:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_15
; %bb.6:
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_7:
	sub	w8, w25, w27
	sxtw	x25, w8
Lloh25:
	adrp	x8, _XFRM_MSG_GETSA@GOTPAGE
Lloh26:
	ldr	x8, [x8, _XFRM_MSG_GETSA@GOTPAGEOFF]
Lloh27:
	ldr	w9, [x8]
	ldr	w8, [x26]
	sub	w9, w9, w8
	cmp	w25, w9
	b.eq	LBB0_9
; %bb.8:
Lloh28:
	adrp	x9, _XFRM_MSG_GETPOLICY@GOTPAGE
Lloh29:
	ldr	x9, [x9, _XFRM_MSG_GETPOLICY@GOTPAGEOFF]
Lloh30:
	ldr	w9, [x9]
	sub	w8, w9, w8
	cmp	w25, w8
	b.ne	LBB0_12
LBB0_9:
	ldr	w8, [x19, #4]
Lloh31:
	adrp	x9, _NLM_F_DUMP@GOTPAGE
Lloh32:
	ldr	x9, [x9, _NLM_F_DUMP@GOTPAGEOFF]
Lloh33:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_12
; %bb.10:
	mov	w8, #24
	madd	x8, x25, x8, x23
	ldr	x8, [x8, #16]
	cbz	x8, LBB0_1
; %bb.11:
	mov	w9, #24
	madd	x9, x25, x9, x23
	ldr	w9, [x9, #8]
	stur	w9, [x29, #-104]
	stur	x8, [x29, #-96]
	ldr	w0, [x22]
	sub	x3, x29, #104
	mov	x1, x20
	mov	x2, x19
	bl	_netlink_dump_start
	b	LBB0_5
LBB0_12:
Lloh34:
	adrp	x8, _xfrm_msg_min@GOTPAGE
Lloh35:
	ldr	x8, [x8, _xfrm_msg_min@GOTPAGEOFF]
Lloh36:
	ldr	x8, [x8]
	ldr	w1, [x8, x25, lsl #2]
	ldr	w3, [x24]
Lloh37:
	adrp	x8, _xfrma_policy@GOTPAGE
Lloh38:
	ldr	x8, [x8, _xfrma_policy@GOTPAGEOFF]
Lloh39:
	ldr	w4, [x8]
	mov	x0, x19
	mov	x2, x21
	bl	_nlmsg_parse
	tbnz	w0, #31, LBB0_5
; %bb.13:
	mov	w8, #24
	mul	x8, x25, x8
	ldr	x8, [x23, x8]
	cbz	x8, LBB0_1
; %bb.14:
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	blr	x8
	b	LBB0_5
LBB0_15:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.cfi_endproc
                                        ; -- End function
	.comm	_XFRMA_MAX,4,2                  ; @XFRMA_MAX
	.comm	_XFRM_MSG_MAX,4,2               ; @XFRM_MSG_MAX
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_XFRM_MSG_BASE,4,2              ; @XFRM_MSG_BASE
	.comm	_xfrm_dispatch,8,3              ; @xfrm_dispatch
	.comm	_CAP_NET_ADMIN,4,2              ; @CAP_NET_ADMIN
	.comm	_EPERM,4,2                      ; @EPERM
	.comm	_XFRM_MSG_GETSA,4,2             ; @XFRM_MSG_GETSA
	.comm	_XFRM_MSG_GETPOLICY,4,2         ; @XFRM_MSG_GETPOLICY
	.comm	_NLM_F_DUMP,4,2                 ; @NLM_F_DUMP
	.comm	_xfrm_msg_min,8,3               ; @xfrm_msg_min
	.comm	_xfrma_policy,4,2               ; @xfrma_policy
	.no_dead_strip	_xfrm_user_rcv_msg
.subsections_via_symbols
