	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nldev_get_doit
_nldev_get_doit:                        ## @nldev_get_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %r13
	movq	%rdi, -56(%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, %r14
	leal	-1(%rbx), %ecx
	movq	_nldev_policy@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	xorl	%r12d, %r12d
	movq	%r13, %rdi
	xorl	%esi, %esi
	movq	%r14, %rdx
	movq	%r15, %r9
	callq	_nlmsg_parse_deprecated
	testl	%eax, %eax
	je	LBB0_5
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_2:
	subl	(%rax), %r12d
LBB0_3:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_14
## %bb.4:
	movl	%r12d, %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_INDEX@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r14,%rax,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.6:
	callq	_nla_get_u32
	movl	%eax, %ebx
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movl	(%r14), %edi
	callq	_sock_net
	movl	%eax, %edi
	movl	%ebx, %esi
	callq	_ib_device_get_by_index
	testq	%rax, %rax
	je	LBB0_10
## %bb.7:
	movq	%rax, %r15
	movq	_NLMSG_DEFAULT_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_nlmsg_new
	testq	%rax, %rax
	je	LBB0_11
## %bb.8:
	movq	%rax, %rbx
	movq	%r14, %rdi
	callq	_NETLINK_CB
	movl	%eax, %r12d
	movl	(%r13), %r13d
	movq	_RDMA_NL_NLDEV@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_RDMA_NLDEV_CMD_GET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_RDMA_NL_GET_TYPE
	movq	%rbx, %rdi
	movl	%r12d, %esi
	movl	%r13d, %edx
	movl	%eax, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_nlmsg_put
	movq	%rax, %r13
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_fill_dev_info
	testl	%eax, %eax
	je	LBB0_13
## %bb.9:
	movl	%eax, %r12d
	movq	%rbx, %rdi
	callq	_nlmsg_free
	jmp	LBB0_12
LBB0_10:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
	jmp	LBB0_2
LBB0_11:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
LBB0_12:
	movq	%r15, %rdi
	callq	_ib_device_put
	jmp	LBB0_3
LBB0_13:
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_nlmsg_end
	movq	%r15, %rdi
	callq	_ib_device_put
	movl	(%r14), %edi
	callq	_sock_net
	movl	%eax, %r15d
	movq	%r14, %rdi
	callq	_NETLINK_CB
	movl	%r15d, %edi
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	_rdma_nl_unicast
	movl	%eax, %r12d
	jmp	LBB0_3
LBB0_14:
	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_ATTR_DEV_INDEX,8,3  ## @RDMA_NLDEV_ATTR_DEV_INDEX
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_NLMSG_DEFAULT_SIZE,4,2         ## @NLMSG_DEFAULT_SIZE
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_RDMA_NL_NLDEV,4,2              ## @RDMA_NL_NLDEV
	.comm	_RDMA_NLDEV_CMD_GET,4,2         ## @RDMA_NLDEV_CMD_GET
	.no_dead_strip	_nldev_get_doit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nldev_get_doit
_nldev_get_doit:                        ; @nldev_get_doit
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	sub	sp, sp, #16
	mov	x5, x2
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
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
	sub	w3, w12, #1
Lloh8:
	adrp	x8, _nldev_policy@GOTPAGE
Lloh9:
	ldr	x8, [x8, _nldev_policy@GOTPAGEOFF]
Lloh10:
	ldr	w4, [x8]
	mov	x0, x1
	mov	w1, #0
	mov	x2, x21
	bl	_nlmsg_parse_deprecated
	cbz	w0, LBB0_4
LBB0_1:
Lloh11:
	adrp	x8, _EINVAL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	neg	w20, w8
LBB0_2:
	ldur	x8, [x29, #-56]
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_12
; %bb.3:
	mov	x0, x20
	sub	sp, x29, #48
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_4:
Lloh17:
	adrp	x8, _RDMA_NLDEV_ATTR_DEV_INDEX@GOTPAGE
Lloh18:
	ldr	x8, [x8, _RDMA_NLDEV_ATTR_DEV_INDEX@GOTPAGEOFF]
Lloh19:
	ldr	x8, [x8]
	ldr	x0, [x21, x8, lsl #3]
	cbz	x0, LBB0_1
; %bb.5:
	bl	_nla_get_u32
	mov	x21, x0
	ldr	w0, [x19]
	bl	_sock_net
	mov	x1, x21
	bl	_ib_device_get_by_index
	cbz	x0, LBB0_1
; %bb.6:
	mov	x21, x0
Lloh20:
	adrp	x8, _NLMSG_DEFAULT_SIZE@GOTPAGE
Lloh21:
	ldr	x8, [x8, _NLMSG_DEFAULT_SIZE@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
Lloh23:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh24:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
	bl	_nlmsg_new
	cbz	x0, LBB0_9
; %bb.7:
	mov	x22, x0
	mov	x0, x19
	bl	_NETLINK_CB
	mov	x23, x0
	ldr	w20, [x20]
Lloh26:
	adrp	x8, _RDMA_NL_NLDEV@GOTPAGE
Lloh27:
	ldr	x8, [x8, _RDMA_NL_NLDEV@GOTPAGEOFF]
Lloh28:
	ldr	w0, [x8]
Lloh29:
	adrp	x8, _RDMA_NLDEV_CMD_GET@GOTPAGE
Lloh30:
	ldr	x8, [x8, _RDMA_NLDEV_CMD_GET@GOTPAGEOFF]
Lloh31:
	ldr	w1, [x8]
	bl	_RDMA_NL_GET_TYPE
	mov	x3, x0
	mov	x0, x22
	mov	x1, x23
	mov	x2, x20
	mov	w4, #0
	mov	w5, #0
	bl	_nlmsg_put
	mov	x23, x0
	mov	x0, x22
	mov	x1, x21
	bl	_fill_dev_info
	cbz	w0, LBB0_11
; %bb.8:
	mov	x20, x0
	mov	x0, x22
	bl	_nlmsg_free
	b	LBB0_10
LBB0_9:
Lloh32:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh33:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh34:
	ldr	w8, [x8]
	neg	w20, w8
LBB0_10:
	mov	x0, x21
	bl	_ib_device_put
	b	LBB0_2
LBB0_11:
	mov	x0, x22
	mov	x1, x23
	bl	_nlmsg_end
	mov	x0, x21
	bl	_ib_device_put
	ldr	w0, [x19]
	bl	_sock_net
	mov	x20, x0
	mov	x0, x19
	bl	_NETLINK_CB
	mov	x2, x0
	mov	x0, x20
	mov	x1, x22
	bl	_rdma_nl_unicast
	mov	x20, x0
	b	LBB0_2
LBB0_12:
	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
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.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_ATTR_DEV_INDEX,8,3  ; @RDMA_NLDEV_ATTR_DEV_INDEX
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_NLMSG_DEFAULT_SIZE,4,2         ; @NLMSG_DEFAULT_SIZE
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_RDMA_NL_NLDEV,4,2              ; @RDMA_NL_NLDEV
	.comm	_RDMA_NLDEV_CMD_GET,4,2         ; @RDMA_NLDEV_CMD_GET
	.no_dead_strip	_nldev_get_doit
.subsections_via_symbols
