	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nfnetlink_rcv_msg
_nfnetlink_rcv_msg:                     ## @nfnetlink_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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_CAP_NET_ADMIN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_security_netlink_recv
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	_EPERM@GOTPCREL(%rip), %rcx
LBB0_2:
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_11
LBB0_3:
	movq	(%r15), %rbx
	movl	$4, %edi
	callq	_NLMSG_LENGTH
	movq	%rax, %rcx
	xorl	%eax, %eax
	cmpq	%rcx, %rbx
	jge	LBB0_4
LBB0_11:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_13
## %bb.12:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movl	8(%r15), %ebx
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_nfnetlink_get_subsys
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	%rax, %r13
	movl	%ebx, %edi
	movq	%rax, %rsi
	callq	_nfnetlink_find_client
	testq	%rax, %rax
	je	LBB0_6
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movl	$4, %edi
	callq	_NLMSG_SPACE
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movl	8(%r15), %edi
	callq	_NFNL_MSG_TYPE
	movq	%rax, %r12
	movq	%rsp, -64(%rbp)                 ## 8-byte Spill
	movq	(%r13), %rax
	movl	4(%rax,%r12,8), %eax
	incl	%eax
	shlq	$3, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	movslq	-52(%rbp), %rax                 ## 4-byte Folded Reload
	leaq	(%r15,%rax), %rdx
	movl	(%r15), %ecx
	subl	%eax, %ecx
	movq	(%r13), %rax
	movl	(%rax,%r12,8), %r8d
	movl	4(%rax,%r12,8), %esi
	movq	%r14, %rdi
	callq	_nla_parse
	testl	%eax, %eax
	js	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	_nfnl@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movq	%r15, %rdx
	movq	%r14, %rcx
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	callq	*(%rax)
	movq	_EAGAIN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	addl	%eax, %ecx
	movq	-64(%rbp), %rsp                 ## 8-byte Reload
	je	LBB0_5
	jmp	LBB0_11
LBB0_6:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_9:
	movq	-64(%rbp), %rsp                 ## 8-byte Reload
	jmp	LBB0_11
LBB0_13:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_CAP_NET_ADMIN,4,2              ## @CAP_NET_ADMIN
	.comm	_EPERM,4,2                      ## @EPERM
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_nfnl,4,2                       ## @nfnl
	.comm	_EAGAIN,4,2                     ## @EAGAIN
	.no_dead_strip	_nfnetlink_rcv_msg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nfnetlink_rcv_msg
_nfnetlink_rcv_msg:                     ; @nfnetlink_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, #16
	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]
Lloh3:
	adrp	x8, _CAP_NET_ADMIN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CAP_NET_ADMIN@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_security_netlink_recv
	cbz	x0, LBB0_3
; %bb.1:
Lloh6:
	adrp	x8, _EPERM@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EPERM@GOTPAGEOFF]
LBB0_2:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_5
LBB0_3:
	ldr	x21, [x19]
	mov	w0, #4
	bl	_NLMSG_LENGTH
	cmp	x21, x0
	b.ge	LBB0_7
; %bb.4:
	mov	w0, #0
LBB0_5:
	ldur	x8, [x29, #-88]
Lloh8:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh9:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_14
; %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:
	ldr	w21, [x19, #8]
Lloh11:
	adrp	x26, _nfnl@GOTPAGE
Lloh12:
	ldr	x26, [x26, _nfnl@GOTPAGEOFF]
Lloh13:
	adrp	x27, _EAGAIN@GOTPAGE
Lloh14:
	ldr	x27, [x27, _EAGAIN@GOTPAGEOFF]
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_nfnetlink_get_subsys
	cbz	x0, LBB0_12
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x23, x0
	mov	x0, x21
	mov	x1, x23
	bl	_nfnetlink_find_client
	cbz	x0, LBB0_12
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x22, x0
	mov	w0, #4
	bl	_NLMSG_SPACE
	mov	x25, x0
	ldr	w0, [x19, #8]
	bl	_NFNL_MSG_TYPE
	mov	x28, sp
	ldr	x8, [x23]
	lsl	x12, x0, #3
	add	x8, x8, x12
	ldr	w8, [x8, #4]
	add	w8, w8, #1
	lsl	x9, x8, #3
	add	x8, x9, #15
	and	x8, x8, #0xffffffff0
Lloh15:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh16:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	sub	x24, x9, x8
	mov	sp, x24
	add	x2, x19, w25, sxtw
	ldr	w8, [x19]
	sub	w3, w8, w25
	ldr	x8, [x23]
	add	x8, x8, x12
	ldp	w4, w1, [x8]
	mov	x0, x24
	bl	_nla_parse
	tbnz	w0, #31, LBB0_13
; %bb.11:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	x8, [x22]
	ldr	w0, [x26]
	mov	x1, x20
	mov	x2, x19
	mov	x3, x24
	blr	x8
	ldr	w8, [x27]
	mov	sp, x28
	cmn	w0, w8
	b.eq	LBB0_8
	b	LBB0_5
LBB0_12:
Lloh17:
	adrp	x8, _EINVAL@GOTPAGE
Lloh18:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_2
LBB0_13:
	mov	sp, x28
	b	LBB0_5
LBB0_14:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_CAP_NET_ADMIN,4,2              ; @CAP_NET_ADMIN
	.comm	_EPERM,4,2                      ; @EPERM
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_nfnl,4,2                       ; @nfnl
	.comm	_EAGAIN,4,2                     ; @EAGAIN
	.no_dead_strip	_nfnetlink_rcv_msg
.subsections_via_symbols
