	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlxsw_sp_router_rauhtd_is_full
_mlxsw_sp_router_rauhtd_is_full:        ## @mlxsw_sp_router_rauhtd_is_full
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	callq	_mlxsw_reg_rauhtd_num_rec_get
	movq	%rax, %rbx
	movq	_MLXSW_REG_RAUHTD_REC_MAX_NUM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	cmpq	(%rcx), %rbx
	jl	LBB0_3
## %bb.1:
	decq	%rbx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_mlxsw_reg_rauhtd_rec_type_get
	movq	%rax, %rcx
	movq	_MLXSW_REG_RAUHTD_TYPE_IPV6@GOTPCREL(%rip), %rdx
	movl	$1, %eax
	cmpq	(%rdx), %rcx
	je	LBB0_3
## %bb.2:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_mlxsw_reg_rauhtd_ipv4_rec_num_entries_get
	movq	%rax, %rcx
	incq	%rcx
	movq	_MLXSW_REG_RAUHTD_IPV4_ENT_PER_REC@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	cmpq	(%rdx), %rcx
	sete	%al
LBB0_3:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MLXSW_REG_RAUHTD_REC_MAX_NUM,8,3 ## @MLXSW_REG_RAUHTD_REC_MAX_NUM
	.comm	_MLXSW_REG_RAUHTD_TYPE_IPV6,8,3 ## @MLXSW_REG_RAUHTD_TYPE_IPV6
	.comm	_MLXSW_REG_RAUHTD_IPV4_ENT_PER_REC,8,3 ## @MLXSW_REG_RAUHTD_IPV4_ENT_PER_REC
	.no_dead_strip	_mlxsw_sp_router_rauhtd_is_full
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlxsw_sp_router_rauhtd_is_full
_mlxsw_sp_router_rauhtd_is_full:        ; @mlxsw_sp_router_rauhtd_is_full
	.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	x19, x0
	bl	_mlxsw_reg_rauhtd_num_rec_get
Lloh0:
	adrp	x8, _MLXSW_REG_RAUHTD_REC_MAX_NUM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MLXSW_REG_RAUHTD_REC_MAX_NUM@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ge	LBB0_2
; %bb.1:
	mov	w0, #0
	b	LBB0_5
LBB0_2:
	sub	x20, x0, #1
	mov	x0, x19
	mov	x1, x20
	bl	_mlxsw_reg_rauhtd_rec_type_get
Lloh3:
	adrp	x8, _MLXSW_REG_RAUHTD_TYPE_IPV6@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MLXSW_REG_RAUHTD_TYPE_IPV6@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_4
; %bb.3:
	mov	w0, #1
	b	LBB0_5
LBB0_4:
	mov	x0, x19
	mov	x1, x20
	bl	_mlxsw_reg_rauhtd_ipv4_rec_num_entries_get
	add	x8, x0, #1
Lloh6:
	adrp	x9, _MLXSW_REG_RAUHTD_IPV4_ENT_PER_REC@GOTPAGE
Lloh7:
	ldr	x9, [x9, _MLXSW_REG_RAUHTD_IPV4_ENT_PER_REC@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, eq
LBB0_5:
	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
	.cfi_endproc
                                        ; -- End function
	.comm	_MLXSW_REG_RAUHTD_REC_MAX_NUM,8,3 ; @MLXSW_REG_RAUHTD_REC_MAX_NUM
	.comm	_MLXSW_REG_RAUHTD_TYPE_IPV6,8,3 ; @MLXSW_REG_RAUHTD_TYPE_IPV6
	.comm	_MLXSW_REG_RAUHTD_IPV4_ENT_PER_REC,8,3 ; @MLXSW_REG_RAUHTD_IPV4_ENT_PER_REC
	.no_dead_strip	_mlxsw_sp_router_rauhtd_is_full
.subsections_via_symbols
