	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _nldev_res_get_dumpit
__nldev_res_get_dumpit:                 ## @_nldev_res_get_dumpit
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r14d
	movq	(%rdx), %rcx
	xorl	%eax, %eax
	cmpl	%r14d, (%rcx)
	ja	LBB0_5
## %bb.1:
	movq	%rdx, %rbx
	movq	%rsi, %r15
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movl	16(%rdx), %edi
	callq	_NETLINK_CB
	movl	%eax, %r13d
	movq	8(%rbx), %rax
	movl	(%rax), %r12d
	movq	_RDMA_NL_NLDEV@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_RDMA_NLDEV_CMD_RES_GET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_RDMA_NL_GET_TYPE
	movq	_NLM_F_MULTI@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r9d
	movq	%r15, %rdi
	movl	%r13d, %esi
	movl	%r12d, %edx
	movl	%eax, %ecx
	xorl	%r8d, %r8d
	callq	_nlmsg_put
	movq	%rax, %r13
	movq	%r15, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_fill_res_info
	movq	%r15, %rdi
	movq	%r13, %rsi
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	callq	_nlmsg_cancel
	jmp	LBB0_4
LBB0_3:
	callq	_nlmsg_end
	incl	%r14d
LBB0_4:
	movq	(%rbx), %rax
	movl	%r14d, (%rax)
	movl	(%r15), %eax
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RDMA_NL_NLDEV,4,2              ## @RDMA_NL_NLDEV
	.comm	_RDMA_NLDEV_CMD_RES_GET,4,2     ## @RDMA_NLDEV_CMD_RES_GET
	.comm	_NLM_F_MULTI,4,2                ## @NLM_F_MULTI
	.no_dead_strip	__nldev_res_get_dumpit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _nldev_res_get_dumpit
__nldev_res_get_dumpit:                 ; @_nldev_res_get_dumpit
	.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
	ldr	x8, [x2]
	ldr	w8, [x8]
	cmp	w8, w3
	b.ls	LBB0_2
; %bb.1:
	mov	w0, #0
	b	LBB0_6
LBB0_2:
	mov	x19, x3
	mov	x21, x2
	mov	x20, x1
	mov	x22, x0
	ldr	w0, [x2, #16]
	bl	_NETLINK_CB
	mov	x23, x0
	ldr	x8, [x21, #8]
	ldr	w24, [x8]
Lloh0:
	adrp	x8, _RDMA_NL_NLDEV@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RDMA_NL_NLDEV@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _RDMA_NLDEV_CMD_RES_GET@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RDMA_NLDEV_CMD_RES_GET@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_RDMA_NL_GET_TYPE
	mov	x3, x0
Lloh6:
	adrp	x8, _NLM_F_MULTI@GOTPAGE
Lloh7:
	ldr	x8, [x8, _NLM_F_MULTI@GOTPAGEOFF]
Lloh8:
	ldr	w5, [x8]
	mov	x0, x20
	mov	x1, x23
	mov	x2, x24
	mov	w4, #0
	bl	_nlmsg_put
	mov	x23, x0
	mov	x0, x20
	mov	x1, x22
	bl	_fill_res_info
	cbz	x0, LBB0_4
; %bb.3:
	mov	x0, x20
	mov	x1, x23
	bl	_nlmsg_cancel
	b	LBB0_5
LBB0_4:
	mov	x0, x20
	mov	x1, x23
	bl	_nlmsg_end
	add	w19, w19, #1
LBB0_5:
	ldr	x8, [x21]
	str	w19, [x8]
	ldr	w0, [x20]
LBB0_6:
	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
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_RDMA_NL_NLDEV,4,2              ; @RDMA_NL_NLDEV
	.comm	_RDMA_NLDEV_CMD_RES_GET,4,2     ; @RDMA_NLDEV_CMD_RES_GET
	.comm	_NLM_F_MULTI,4,2                ; @NLM_F_MULTI
	.no_dead_strip	__nldev_res_get_dumpit
.subsections_via_symbols
