	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fill_res_name_pid
_fill_res_name_pid:                     ## @fill_res_name_pid
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	%rsi, %rdi
	callq	_rdma_is_kernel_res
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	_RDMA_NLDEV_ATTR_RES_KERN_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	4(%rbx), %edx
	movq	%r14, %rdi
	callq	_nla_put_string
	testq	%rax, %rax
	je	LBB0_2
LBB0_4:
	movq	_EMSGSIZE@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_5
LBB0_3:
	movq	_RDMA_NLDEV_ATTR_RES_PID@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movl	(%rbx), %edi
	callq	_task_pid_vnr
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_nla_put_u32
	testq	%rax, %rax
	jne	LBB0_4
LBB0_2:
	xorl	%eax, %eax
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RDMA_NLDEV_ATTR_RES_KERN_NAME,4,2 ## @RDMA_NLDEV_ATTR_RES_KERN_NAME
	.comm	_EMSGSIZE,4,2                   ## @EMSGSIZE
	.comm	_RDMA_NLDEV_ATTR_RES_PID,4,2    ## @RDMA_NLDEV_ATTR_RES_PID
	.no_dead_strip	_fill_res_name_pid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fill_res_name_pid
_fill_res_name_pid:                     ; @fill_res_name_pid
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x1
	mov	x19, x0
	mov	x0, x1
	bl	_rdma_is_kernel_res
	cbz	x0, LBB0_4
; %bb.1:
Lloh0:
	adrp	x8, _RDMA_NLDEV_ATTR_RES_KERN_NAME@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RDMA_NLDEV_ATTR_RES_KERN_NAME@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	ldr	w2, [x20, #4]
	mov	x0, x19
	bl	_nla_put_string
	cbz	x0, LBB0_3
LBB0_2:
Lloh3:
	adrp	x8, _EMSGSIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EMSGSIZE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_4:
Lloh6:
	adrp	x8, _RDMA_NLDEV_ATTR_RES_PID@GOTPAGE
Lloh7:
	ldr	x8, [x8, _RDMA_NLDEV_ATTR_RES_PID@GOTPAGEOFF]
Lloh8:
	ldr	w21, [x8]
	ldr	w0, [x20]
	bl	_task_pid_vnr
	mov	x2, x0
	mov	x0, x19
	mov	x1, x21
	bl	_nla_put_u32
	cbnz	x0, LBB0_2
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_RDMA_NLDEV_ATTR_RES_KERN_NAME,4,2 ; @RDMA_NLDEV_ATTR_RES_KERN_NAME
	.comm	_EMSGSIZE,4,2                   ; @EMSGSIZE
	.comm	_RDMA_NLDEV_ATTR_RES_PID,4,2    ; @RDMA_NLDEV_ATTR_RES_PID
	.no_dead_strip	_fill_res_name_pid
.subsections_via_symbols
