	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fill_stat_counter_mode
_fill_stat_counter_mode:                ## @fill_stat_counter_mode
	.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, %r15
	movq	%rdi, %r14
	movq	_RDMA_NLDEV_ATTR_STAT_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	(%r15), %rdx
	callq	_nla_put_u32
	testq	%rax, %rax
	je	LBB0_1
LBB0_4:
	movq	_EMSGSIZE@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_5
LBB0_1:
	movq	(%r15), %rax
	movq	_RDMA_COUNTER_MODE_AUTO@GOTPCREL(%rip), %rcx
	xorl	%ebx, %ebx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.2:
	movq	_RDMA_COUNTER_MASK_QP_TYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 8(%r15)
	je	LBB0_5
## %bb.3:
	movq	_RDMA_NLDEV_ATTR_RES_TYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	12(%r15), %edx
	movq	%r14, %rdi
	callq	_nla_put_u8
	testq	%rax, %rax
	jne	LBB0_4
LBB0_5:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RDMA_NLDEV_ATTR_STAT_MODE,4,2  ## @RDMA_NLDEV_ATTR_STAT_MODE
	.comm	_EMSGSIZE,4,2                   ## @EMSGSIZE
	.comm	_RDMA_COUNTER_MODE_AUTO,8,3     ## @RDMA_COUNTER_MODE_AUTO
	.comm	_RDMA_COUNTER_MASK_QP_TYPE,4,2  ## @RDMA_COUNTER_MASK_QP_TYPE
	.comm	_RDMA_NLDEV_ATTR_RES_TYPE,4,2   ## @RDMA_NLDEV_ATTR_RES_TYPE
	.no_dead_strip	_fill_stat_counter_mode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fill_stat_counter_mode
_fill_stat_counter_mode:                ; @fill_stat_counter_mode
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _RDMA_NLDEV_ATTR_STAT_MODE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RDMA_NLDEV_ATTR_STAT_MODE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	ldr	x2, [x20]
	bl	_nla_put_u32
	cbz	x0, LBB0_2
LBB0_1:
Lloh3:
	adrp	x8, _EMSGSIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EMSGSIZE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_6
LBB0_2:
	ldr	x8, [x20]
Lloh6:
	adrp	x9, _RDMA_COUNTER_MODE_AUTO@GOTPAGE
Lloh7:
	ldr	x9, [x9, _RDMA_COUNTER_MODE_AUTO@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.3:
	ldr	w8, [x20, #8]
Lloh9:
	adrp	x9, _RDMA_COUNTER_MASK_QP_TYPE@GOTPAGE
Lloh10:
	ldr	x9, [x9, _RDMA_COUNTER_MASK_QP_TYPE@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.4:
Lloh12:
	adrp	x8, _RDMA_NLDEV_ATTR_RES_TYPE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _RDMA_NLDEV_ATTR_RES_TYPE@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	ldr	w2, [x20, #12]
	mov	x0, x19
	bl	_nla_put_u8
	cbnz	x0, LBB0_1
	b	LBB0_6
LBB0_5:
	mov	w0, #0
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_RDMA_NLDEV_ATTR_STAT_MODE,4,2  ; @RDMA_NLDEV_ATTR_STAT_MODE
	.comm	_EMSGSIZE,4,2                   ; @EMSGSIZE
	.comm	_RDMA_COUNTER_MODE_AUTO,8,3     ; @RDMA_COUNTER_MODE_AUTO
	.comm	_RDMA_COUNTER_MASK_QP_TYPE,4,2  ; @RDMA_COUNTER_MASK_QP_TYPE
	.comm	_RDMA_NLDEV_ATTR_RES_TYPE,4,2   ; @RDMA_NLDEV_ATTR_RES_TYPE
	.no_dead_strip	_fill_stat_counter_mode
.subsections_via_symbols
