	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nldev_set_sys_set_doit
_nldev_set_sys_set_doit:                ## @nldev_set_sys_set_doit
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movq	_RDMA_NLDEV_ATTR_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%rbx, %rax
	shlq	$3, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	leal	-1(%rbx), %ecx
	movq	_nldev_policy@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	xorl	%ebx, %ebx
	movq	%r12, %rdi
	xorl	%esi, %esi
	movq	%r15, %rdx
	movq	%r14, %r9
	callq	_nlmsg_parse
	testl	%eax, %eax
	je	LBB0_5
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_2:
	subl	(%rax), %ebx
LBB0_3:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_9
## %bb.4:
	movl	%ebx, %eax
	leaq	-32(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	_RDMA_NLDEV_SYS_ATTR_NETNS_MODE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r15,%rax,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.6:
	callq	_nla_get_u8
	cmpl	$2, %eax
	jl	LBB0_8
## %bb.7:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	jmp	LBB0_2
LBB0_8:
	movl	%eax, %edi
	callq	_rdma_compatdev_set
	movl	%eax, %ebx
	jmp	LBB0_3
LBB0_9:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_RDMA_NLDEV_ATTR_MAX,4,2        ## @RDMA_NLDEV_ATTR_MAX
	.comm	_nldev_policy,4,2               ## @nldev_policy
	.comm	_RDMA_NLDEV_SYS_ATTR_NETNS_MODE,8,3 ## @RDMA_NLDEV_SYS_ATTR_NETNS_MODE
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_nldev_set_sys_set_doit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nldev_set_sys_set_doit
_nldev_set_sys_set_doit:                ; @nldev_set_sys_set_doit
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	sub	sp, sp, #16
	mov	x5, x2
	mov	x0, x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-24]
Lloh3:
	adrp	x8, _RDMA_NLDEV_ATTR_MAX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RDMA_NLDEV_ATTR_MAX@GOTPAGEOFF]
Lloh5:
	ldr	w12, [x8]
	lsl	x8, x12, #3
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0xffffffff0
	sub	x19, x9, x8
	mov	sp, x19
	sub	w3, w12, #1
Lloh8:
	adrp	x8, _nldev_policy@GOTPAGE
Lloh9:
	ldr	x8, [x8, _nldev_policy@GOTPAGEOFF]
Lloh10:
	ldr	w4, [x8]
	mov	w1, #0
	mov	x2, x19
	bl	_nlmsg_parse
	cbz	w0, LBB0_4
LBB0_1:
Lloh11:
	adrp	x8, _EINVAL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_2:
	ldur	x8, [x29, #-24]
Lloh14:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh15:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_7
; %bb.3:
	sub	sp, x29, #16
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_4:
Lloh17:
	adrp	x8, _RDMA_NLDEV_SYS_ATTR_NETNS_MODE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _RDMA_NLDEV_SYS_ATTR_NETNS_MODE@GOTPAGEOFF]
Lloh19:
	ldr	x8, [x8]
	ldr	x0, [x19, x8, lsl #3]
	cbz	x0, LBB0_1
; %bb.5:
	bl	_nla_get_u8
	cmp	w0, #2
	b.ge	LBB0_1
; %bb.6:
	bl	_rdma_compatdev_set
	b	LBB0_2
LBB0_7:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_RDMA_NLDEV_ATTR_MAX,4,2        ; @RDMA_NLDEV_ATTR_MAX
	.comm	_nldev_policy,4,2               ; @nldev_policy
	.comm	_RDMA_NLDEV_SYS_ATTR_NETNS_MODE,8,3 ; @RDMA_NLDEV_SYS_ATTR_NETNS_MODE
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_nldev_set_sys_set_doit
.subsections_via_symbols
