	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nldev_newlink
_nldev_newlink:                         ## @nldev_newlink
	.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	%rdx, -96(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r12
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%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, %r13
	movq	_IB_DEVICE_NAME_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -88(%rbp)                 ## 8-byte Spill
	movq	_IFNAMSIZ@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	%r14, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -64(%rbp)                 ## 8-byte Spill
	movq	%r14, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -56(%rbp)                 ## 8-byte Spill
	leal	-1(%rbx), %ecx
	movq	_nldev_policy@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	xorl	%r15d, %r15d
	movq	%r12, %rdi
	xorl	%esi, %esi
	movq	%r13, %rdx
	movq	-96(%rbp), %r9                  ## 8-byte Reload
	callq	_nlmsg_parse_deprecated
	testl	%eax, %eax
	je	LBB0_5
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_2:
	subl	(%rax), %r15d
LBB0_3:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_17
## %bb.4:
	movl	%r15d, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	_RDMA_NLDEV_ATTR_DEV_NAME@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r13,%rax,8), %rsi
	testq	%rsi, %rsi
	je	LBB0_1
## %bb.6:
	movq	_RDMA_NLDEV_ATTR_LINK_TYPE@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	cmpq	$0, (%r13,%rax,8)
	je	LBB0_1
## %bb.7:
	movq	_RDMA_NLDEV_ATTR_NDEV_NAME@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	cmpq	$0, (%r13,%rax,8)
	je	LBB0_1
## %bb.8:
	movq	-88(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_nla_strlcpy
	movq	%r15, %rdi
	movl	$37, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_11
## %bb.9:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_10:
	xorl	%r15d, %r15d
	jmp	LBB0_2
LBB0_11:
	movq	(%rbx), %rax
	movq	(%r13,%rax,8), %rsi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%r14d, %edx
	callq	_nla_strlcpy
	movq	(%r12), %rax
	movq	(%r13,%rax,8), %rsi
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movl	%r14d, %edx
	callq	_nla_strlcpy
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	callq	_sock_net
	movl	%eax, %edi
	movq	%rbx, %rsi
	callq	_dev_get_by_name
	testq	%rax, %rax
	je	LBB0_14
## %bb.12:
	movq	%rax, %rbx
	movq	_link_ops_rwsem@GOTPCREL(%rip), %rdi
	callq	_down_read
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_link_ops_get
	testq	%rax, %rax
	je	LBB0_15
## %bb.13:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	*(%rax)
	movl	%eax, %r15d
	jmp	LBB0_16
LBB0_14:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_15:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
LBB0_16:
	movq	_link_ops_rwsem@GOTPCREL(%rip), %rdi
	callq	_up_read
	movq	%rbx, %rdi
	callq	_dev_put
	jmp	LBB0_3
LBB0_17:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_RDMA_NLDEV_ATTR_MAX,4,2        ## @RDMA_NLDEV_ATTR_MAX
	.comm	_IB_DEVICE_NAME_MAX,4,2         ## @IB_DEVICE_NAME_MAX
	.comm	_IFNAMSIZ,4,2                   ## @IFNAMSIZ
	.comm	_nldev_policy,4,2               ## @nldev_policy
	.comm	_RDMA_NLDEV_ATTR_DEV_NAME,8,3   ## @RDMA_NLDEV_ATTR_DEV_NAME
	.comm	_RDMA_NLDEV_ATTR_LINK_TYPE,8,3  ## @RDMA_NLDEV_ATTR_LINK_TYPE
	.comm	_RDMA_NLDEV_ATTR_NDEV_NAME,8,3  ## @RDMA_NLDEV_ATTR_NDEV_NAME
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_link_ops_rwsem,4,2             ## @link_ops_rwsem
	.no_dead_strip	_nldev_newlink
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nldev_newlink
_nldev_newlink:                         ; @nldev_newlink
	.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	x5, x2
	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, _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	x21, x9, x8
	mov	sp, x21
Lloh8:
	adrp	x8, _IB_DEVICE_NAME_MAX@GOTPAGE
Lloh9:
	ldr	x8, [x8, _IB_DEVICE_NAME_MAX@GOTPAGEOFF]
Lloh10:
	ldr	w25, [x8]
	mov	x9, x25
Lloh11:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh12:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x25, #15
	and	x9, x9, #0x1fffffff0
	sub	x19, x8, x9
	mov	sp, x19
Lloh13:
	adrp	x8, _IFNAMSIZ@GOTPAGE
Lloh14:
	ldr	x8, [x8, _IFNAMSIZ@GOTPAGEOFF]
Lloh15:
	ldr	w24, [x8]
	mov	x9, x24
Lloh16:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh17:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x24, #15
	and	x13, x9, #0x1fffffff0
	sub	x23, x8, x13
	mov	sp, x23
	mov	x9, x24
Lloh18:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh19:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	sub	x22, x8, x13
	mov	sp, x22
	sub	w3, w12, #1
Lloh20:
	adrp	x8, _nldev_policy@GOTPAGE
Lloh21:
	ldr	x8, [x8, _nldev_policy@GOTPAGEOFF]
Lloh22:
	ldr	w4, [x8]
	mov	x0, x1
	mov	w1, #0
	mov	x2, x21
	bl	_nlmsg_parse_deprecated
	cbz	w0, LBB0_5
LBB0_1:
Lloh23:
	adrp	x8, _EINVAL@GOTPAGE
Lloh24:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_2:
	ldr	w8, [x8]
	neg	w19, w8
LBB0_3:
	ldur	x8, [x29, #-88]
Lloh25:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh26:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh27:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_15
; %bb.4:
	mov	x0, x19
	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_5:
Lloh28:
	adrp	x8, _RDMA_NLDEV_ATTR_DEV_NAME@GOTPAGE
Lloh29:
	ldr	x8, [x8, _RDMA_NLDEV_ATTR_DEV_NAME@GOTPAGEOFF]
Lloh30:
	ldr	x8, [x8]
	ldr	x1, [x21, x8, lsl #3]
	cbz	x1, LBB0_1
; %bb.6:
Lloh31:
	adrp	x27, _RDMA_NLDEV_ATTR_LINK_TYPE@GOTPAGE
Lloh32:
	ldr	x27, [x27, _RDMA_NLDEV_ATTR_LINK_TYPE@GOTPAGEOFF]
	ldr	x8, [x27]
	ldr	x8, [x21, x8, lsl #3]
	cbz	x8, LBB0_1
; %bb.7:
Lloh33:
	adrp	x26, _RDMA_NLDEV_ATTR_NDEV_NAME@GOTPAGE
Lloh34:
	ldr	x26, [x26, _RDMA_NLDEV_ATTR_NDEV_NAME@GOTPAGEOFF]
	ldr	x8, [x26]
	ldr	x8, [x21, x8, lsl #3]
	cbz	x8, LBB0_1
; %bb.8:
	mov	x0, x19
	mov	x2, x25
	bl	_nla_strlcpy
	mov	x0, x19
	mov	w1, #37
	bl	_strchr
	cbnz	x0, LBB0_1
; %bb.9:
	ldr	x8, [x27]
	ldr	x1, [x21, x8, lsl #3]
	mov	x0, x22
	mov	x2, x24
	bl	_nla_strlcpy
	ldr	x8, [x26]
	ldr	x1, [x21, x8, lsl #3]
	mov	x0, x23
	mov	x2, x24
	bl	_nla_strlcpy
	ldr	w0, [x20]
	bl	_sock_net
	mov	x1, x23
	bl	_dev_get_by_name
	cbz	x0, LBB0_12
; %bb.10:
	mov	x20, x0
Lloh35:
	adrp	x0, _link_ops_rwsem@GOTPAGE
Lloh36:
	ldr	x0, [x0, _link_ops_rwsem@GOTPAGEOFF]
	bl	_down_read
	mov	x0, x22
	bl	_link_ops_get
	cbz	x0, LBB0_13
; %bb.11:
	ldr	x8, [x0]
	mov	x0, x19
	mov	x1, x20
	blr	x8
	mov	x19, x0
	b	LBB0_14
LBB0_12:
Lloh37:
	adrp	x8, _ENODEV@GOTPAGE
Lloh38:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
	b	LBB0_2
LBB0_13:
Lloh39:
	adrp	x8, _EINVAL@GOTPAGE
Lloh40:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh41:
	ldr	w8, [x8]
	neg	w19, w8
LBB0_14:
Lloh42:
	adrp	x0, _link_ops_rwsem@GOTPAGE
Lloh43:
	ldr	x0, [x0, _link_ops_rwsem@GOTPAGEOFF]
	bl	_up_read
	mov	x0, x20
	bl	_dev_put
	b	LBB0_3
LBB0_15:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh42, Lloh43
	.cfi_endproc
                                        ; -- End function
	.comm	_RDMA_NLDEV_ATTR_MAX,4,2        ; @RDMA_NLDEV_ATTR_MAX
	.comm	_IB_DEVICE_NAME_MAX,4,2         ; @IB_DEVICE_NAME_MAX
	.comm	_IFNAMSIZ,4,2                   ; @IFNAMSIZ
	.comm	_nldev_policy,4,2               ; @nldev_policy
	.comm	_RDMA_NLDEV_ATTR_DEV_NAME,8,3   ; @RDMA_NLDEV_ATTR_DEV_NAME
	.comm	_RDMA_NLDEV_ATTR_LINK_TYPE,8,3  ; @RDMA_NLDEV_ATTR_LINK_TYPE
	.comm	_RDMA_NLDEV_ATTR_NDEV_NAME,8,3  ; @RDMA_NLDEV_ATTR_NDEV_NAME
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_link_ops_rwsem,4,2             ; @link_ops_rwsem
	.no_dead_strip	_nldev_newlink
.subsections_via_symbols
