	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stat_get_doit_qp
_stat_get_doit_qp:                      ## @stat_get_doit_qp
	.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	%rsi, %r15
	movq	%rdi, %r12
	movq	_RDMA_NLDEV_ATTR_STAT_COUNTER_ID@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	$0, (%rcx,%rax,8)
	je	LBB0_1
## %bb.22:
	movq	%r12, %rdi
	movq	%r15, %rsi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_nldev_res_get_counter_doit     ## TAILCALL
LBB0_1:
	movq	%rcx, %rbx
	movq	_RDMA_NLDEV_ATTR_STAT_MODE@GOTPCREL(%rip), %r13
	movq	(%r13), %rax
	cmpq	$0, (%rcx,%rax,8)
	je	LBB0_4
## %bb.2:
	movq	_RDMA_NLDEV_ATTR_DEV_INDEX@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rbx,%rax,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.3:
	movq	_RDMA_NLDEV_ATTR_PORT_INDEX@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	$0, (%rbx,%rax,8)
	je	LBB0_4
## %bb.5:
	callq	_nla_get_u32
	movl	%eax, %r14d
	movl	(%r12), %edi
	callq	_sock_net
	movl	%eax, %edi
	movl	%r14d, %esi
	callq	_ib_device_get_by_index
	testq	%rax, %rax
	je	LBB0_4
## %bb.6:
	movq	%rax, %r14
	movq	_RDMA_NLDEV_ATTR_PORT_INDEX@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rbx,%rax,8), %rdi
	callq	_nla_get_u32
	movl	%eax, %ebx
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_rdma_is_port_valid
	testl	%eax, %eax
	je	LBB0_7
## %bb.9:
	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_10
## %bb.11:
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	callq	_NETLINK_CB
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movl	(%r15), %r15d
	movq	_RDMA_NL_NLDEV@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_RDMA_NLDEV_CMD_STAT_GET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_RDMA_NL_GET_TYPE
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	-56(%rbp), %esi                 ## 4-byte Reload
	movl	%r15d, %edx
	movl	%eax, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_nlmsg_put
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	leaq	_stat_get_doit_qp.mode(%rip), %rdx
	leaq	_stat_get_doit_qp.mask(%rip), %rcx
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_rdma_counter_get_mode
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_16
## %bb.12:
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movq	%r14, %rsi
	callq	_fill_nldev_handle
	testq	%rax, %rax
	jne	LBB0_15
## %bb.13:
	movq	_RDMA_NLDEV_ATTR_PORT_INDEX@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%ebx, %edx
	callq	_nla_put_u32
	testq	%rax, %rax
	jne	LBB0_15
## %bb.14:
	movq	(%r13), %rsi
	movl	_stat_get_doit_qp.mode(%rip), %edx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_nla_put_u32
	testq	%rax, %rax
	je	LBB0_19
LBB0_15:
	movq	_EMSGSIZE@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
LBB0_16:
	callq	_nlmsg_free
	jmp	LBB0_17
LBB0_4:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
LBB0_18:
	movl	%r15d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_10:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
LBB0_8:
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
LBB0_17:
	movq	%r14, %rdi
	callq	_ib_device_put
	jmp	LBB0_18
LBB0_19:
	movl	_stat_get_doit_qp.mode(%rip), %eax
	movq	_RDMA_COUNTER_MODE_AUTO@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_21
## %bb.20:
	movq	_RDMA_NLDEV_ATTR_STAT_AUTO_MODE_MASK@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movl	_stat_get_doit_qp.mask(%rip), %edx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_nla_put_u32
	testq	%rax, %rax
	jne	LBB0_15
LBB0_21:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_nlmsg_end
	movq	%r14, %rdi
	callq	_ib_device_put
	movl	(%r12), %edi
	callq	_sock_net
	movl	%eax, %r14d
	movq	%r12, %rdi
	callq	_NETLINK_CB
	movl	%r14d, %edi
	movq	%rbx, %rsi
	movl	%eax, %edx
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rdma_nl_unicast                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_stat_get_doit_qp.mode,4,2 ## @stat_get_doit_qp.mode
.zerofill __DATA,__bss,_stat_get_doit_qp.mask,4,2 ## @stat_get_doit_qp.mask
	.comm	_RDMA_NLDEV_ATTR_STAT_COUNTER_ID,8,3 ## @RDMA_NLDEV_ATTR_STAT_COUNTER_ID
	.comm	_RDMA_NLDEV_ATTR_STAT_MODE,8,3  ## @RDMA_NLDEV_ATTR_STAT_MODE
	.comm	_RDMA_NLDEV_ATTR_DEV_INDEX,8,3  ## @RDMA_NLDEV_ATTR_DEV_INDEX
	.comm	_RDMA_NLDEV_ATTR_PORT_INDEX,8,3 ## @RDMA_NLDEV_ATTR_PORT_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_STAT_GET,4,2    ## @RDMA_NLDEV_CMD_STAT_GET
	.comm	_EMSGSIZE,4,2                   ## @EMSGSIZE
	.comm	_RDMA_COUNTER_MODE_AUTO,4,2     ## @RDMA_COUNTER_MODE_AUTO
	.comm	_RDMA_NLDEV_ATTR_STAT_AUTO_MODE_MASK,8,3 ## @RDMA_NLDEV_ATTR_STAT_AUTO_MODE_MASK
	.no_dead_strip	_stat_get_doit_qp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stat_get_doit_qp
_stat_get_doit_qp:                      ; @stat_get_doit_qp
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x22, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _RDMA_NLDEV_ATTR_STAT_COUNTER_ID@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RDMA_NLDEV_ATTR_STAT_COUNTER_ID@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x8, [x3, x8, lsl #3]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x0, x19
	mov	x1, x22
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_nldev_res_get_counter_doit
LBB0_2:
	mov	x21, x3
Lloh3:
	adrp	x25, _RDMA_NLDEV_ATTR_STAT_MODE@GOTPAGE
Lloh4:
	ldr	x25, [x25, _RDMA_NLDEV_ATTR_STAT_MODE@GOTPAGEOFF]
	ldr	x8, [x25]
	ldr	x8, [x3, x8, lsl #3]
	cbz	x8, LBB0_14
; %bb.3:
Lloh5:
	adrp	x8, _RDMA_NLDEV_ATTR_DEV_INDEX@GOTPAGE
Lloh6:
	ldr	x8, [x8, _RDMA_NLDEV_ATTR_DEV_INDEX@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	ldr	x0, [x21, x8, lsl #3]
	cbz	x0, LBB0_14
; %bb.4:
Lloh8:
	adrp	x26, _RDMA_NLDEV_ATTR_PORT_INDEX@GOTPAGE
Lloh9:
	ldr	x26, [x26, _RDMA_NLDEV_ATTR_PORT_INDEX@GOTPAGEOFF]
	ldr	x8, [x26]
	ldr	x8, [x21, x8, lsl #3]
	cbz	x8, LBB0_14
; %bb.5:
	bl	_nla_get_u32
	mov	x20, x0
	ldr	w0, [x19]
	bl	_sock_net
	mov	x1, x20
	bl	_ib_device_get_by_index
	cbz	x0, LBB0_14
; %bb.6:
	mov	x20, x0
	ldr	x8, [x26]
	ldr	x0, [x21, x8, lsl #3]
	bl	_nla_get_u32
	mov	x23, x0
	mov	x0, x20
	mov	x1, x23
	bl	_rdma_is_port_valid
	cbz	w0, LBB0_16
; %bb.7:
Lloh10:
	adrp	x8, _NLMSG_DEFAULT_SIZE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _NLMSG_DEFAULT_SIZE@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
Lloh13:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh14:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	bl	_nlmsg_new
	cbz	x0, LBB0_17
; %bb.8:
	mov	x21, x0
	mov	x0, x19
	bl	_NETLINK_CB
	mov	x24, x0
	ldr	w22, [x22]
Lloh16:
	adrp	x8, _RDMA_NL_NLDEV@GOTPAGE
Lloh17:
	ldr	x8, [x8, _RDMA_NL_NLDEV@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
Lloh19:
	adrp	x8, _RDMA_NLDEV_CMD_STAT_GET@GOTPAGE
Lloh20:
	ldr	x8, [x8, _RDMA_NLDEV_CMD_STAT_GET@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	bl	_RDMA_NL_GET_TYPE
	mov	x3, x0
	mov	x0, x21
	mov	x1, x24
	mov	x2, x22
	mov	w4, #0
	mov	w5, #0
	bl	_nlmsg_put
	mov	x22, x0
Lloh22:
	adrp	x2, _stat_get_doit_qp.mode@PAGE
Lloh23:
	add	x2, x2, _stat_get_doit_qp.mode@PAGEOFF
Lloh24:
	adrp	x3, _stat_get_doit_qp.mask@PAGE
Lloh25:
	add	x3, x3, _stat_get_doit_qp.mask@PAGEOFF
	mov	x0, x20
	mov	x1, x23
	bl	_rdma_counter_get_mode
	mov	x24, x0
	cbnz	w0, LBB0_13
; %bb.9:
	mov	x0, x21
	mov	x1, x20
	bl	_fill_nldev_handle
	cbnz	x0, LBB0_12
; %bb.10:
	ldr	x1, [x26]
	mov	x0, x21
	mov	x2, x23
	bl	_nla_put_u32
	cbnz	x0, LBB0_12
; %bb.11:
	ldr	x1, [x25]
	adrp	x23, _stat_get_doit_qp.mode@PAGE
	ldr	w2, [x23, _stat_get_doit_qp.mode@PAGEOFF]
	mov	x0, x21
	bl	_nla_put_u32
	cbz	x0, LBB0_20
LBB0_12:
Lloh26:
	adrp	x8, _EMSGSIZE@GOTPAGE
Lloh27:
	ldr	x8, [x8, _EMSGSIZE@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
	neg	w24, w8
LBB0_13:
	mov	x0, x21
	bl	_nlmsg_free
	b	LBB0_19
LBB0_14:
Lloh29:
	adrp	x8, _EINVAL@GOTPAGE
Lloh30:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
	neg	w24, w8
LBB0_15:
	mov	x0, x24
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_16:
Lloh32:
	adrp	x8, _EINVAL@GOTPAGE
Lloh33:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_18
LBB0_17:
Lloh34:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh35:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_18:
	ldr	w8, [x8]
	neg	w24, w8
LBB0_19:
	mov	x0, x20
	bl	_ib_device_put
	b	LBB0_15
LBB0_20:
	ldr	w8, [x23, _stat_get_doit_qp.mode@PAGEOFF]
Lloh36:
	adrp	x9, _RDMA_COUNTER_MODE_AUTO@GOTPAGE
Lloh37:
	ldr	x9, [x9, _RDMA_COUNTER_MODE_AUTO@GOTPAGEOFF]
Lloh38:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_22
; %bb.21:
Lloh39:
	adrp	x8, _RDMA_NLDEV_ATTR_STAT_AUTO_MODE_MASK@GOTPAGE
Lloh40:
	ldr	x8, [x8, _RDMA_NLDEV_ATTR_STAT_AUTO_MODE_MASK@GOTPAGEOFF]
Lloh41:
	ldr	x1, [x8]
Lloh42:
	adrp	x8, _stat_get_doit_qp.mask@PAGE
Lloh43:
	ldr	w2, [x8, _stat_get_doit_qp.mask@PAGEOFF]
	mov	x0, x21
	bl	_nla_put_u32
	cbnz	x0, LBB0_12
LBB0_22:
	mov	x0, x21
	mov	x1, x22
	bl	_nlmsg_end
	mov	x0, x20
	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, x21
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_rdma_nl_unicast
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdr	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_stat_get_doit_qp.mode,4,2 ; @stat_get_doit_qp.mode
.zerofill __DATA,__bss,_stat_get_doit_qp.mask,4,2 ; @stat_get_doit_qp.mask
	.comm	_RDMA_NLDEV_ATTR_STAT_COUNTER_ID,8,3 ; @RDMA_NLDEV_ATTR_STAT_COUNTER_ID
	.comm	_RDMA_NLDEV_ATTR_STAT_MODE,8,3  ; @RDMA_NLDEV_ATTR_STAT_MODE
	.comm	_RDMA_NLDEV_ATTR_DEV_INDEX,8,3  ; @RDMA_NLDEV_ATTR_DEV_INDEX
	.comm	_RDMA_NLDEV_ATTR_PORT_INDEX,8,3 ; @RDMA_NLDEV_ATTR_PORT_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_STAT_GET,4,2    ; @RDMA_NLDEV_CMD_STAT_GET
	.comm	_EMSGSIZE,4,2                   ; @EMSGSIZE
	.comm	_RDMA_COUNTER_MODE_AUTO,4,2     ; @RDMA_COUNTER_MODE_AUTO
	.comm	_RDMA_NLDEV_ATTR_STAT_AUTO_MODE_MASK,8,3 ; @RDMA_NLDEV_ATTR_STAT_AUTO_MODE_MASK
	.no_dead_strip	_stat_get_doit_qp
.subsections_via_symbols
