	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlxsw_sp_qdisc_find_by_handle
_mlxsw_sp_qdisc_find_by_handle:         ## @mlxsw_sp_qdisc_find_by_handle
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	8(%rdi), %rax
	movq	(%rax), %rcx
	cmpq	%rsi, %rcx
	je	LBB0_7
## %bb.1:
	movq	_TC_H_UNSPEC@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	je	LBB0_6
## %bb.2:
	movq	_IEEE_8021QAZ_MAX_TCS@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	testl	%ecx, %ecx
	jle	LBB0_6
## %bb.3:
	movq	(%rdi), %rax
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rsi, (%rax)
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	addq	$8, %rax
	decq	%rcx
	jne	LBB0_4
LBB0_6:
	xorl	%eax, %eax
LBB0_7:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TC_H_UNSPEC,8,3                ## @TC_H_UNSPEC
	.comm	_IEEE_8021QAZ_MAX_TCS,4,2       ## @IEEE_8021QAZ_MAX_TCS
	.no_dead_strip	_mlxsw_sp_qdisc_find_by_handle
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlxsw_sp_qdisc_find_by_handle
_mlxsw_sp_qdisc_find_by_handle:         ; @mlxsw_sp_qdisc_find_by_handle
	.cfi_startproc
; %bb.0:
	mov	x8, x0
	ldr	x0, [x0, #8]
	ldr	x9, [x0]
	cmp	x9, x1
	b.eq	LBB0_7
; %bb.1:
Lloh0:
	adrp	x10, _TC_H_UNSPEC@GOTPAGE
Lloh1:
	ldr	x10, [x10, _TC_H_UNSPEC@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	cmp	x9, x10
	b.eq	LBB0_6
; %bb.2:
Lloh3:
	adrp	x9, _IEEE_8021QAZ_MAX_TCS@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IEEE_8021QAZ_MAX_TCS@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w9, #1
	b.lt	LBB0_6
; %bb.3:
	ldr	x0, [x8]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x0]
	cmp	x8, x1
	b.eq	LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x0, x0, #8
	subs	x9, x9, #1
	b.ne	LBB0_4
LBB0_6:
	mov	x0, #0
LBB0_7:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_TC_H_UNSPEC,8,3                ; @TC_H_UNSPEC
	.comm	_IEEE_8021QAZ_MAX_TCS,4,2       ; @IEEE_8021QAZ_MAX_TCS
	.no_dead_strip	_mlxsw_sp_qdisc_find_by_handle
.subsections_via_symbols
