	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlx5_vsc_gw_read_fast
_mlx5_vsc_gw_read_fast:                 ## @mlx5_vsc_gw_read_fast
	.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	%rdx, %r14
	movl	%esi, %r15d
	movq	%rdi, %rbx
	movq	%rcx, %rdx
	callq	_mlx5_vsc_gw_read
	testl	%eax, %eax
	jne	LBB0_4
## %bb.1:
	movq	_VSC_ADDR_OFFSET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movq	%r14, %rdx
	callq	_vsc_read
	testl	%eax, %eax
	jne	LBB0_4
## %bb.2:
	movl	(%r14), %edi
	movq	_VSC_ADDR_BIT_OFFS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_VSC_ADDR_BIT_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_MLX5_EXTRACT
	movl	%eax, %ecx
	movl	%eax, (%r14)
	xorl	%eax, %eax
	cmpl	%r15d, %ecx
	ja	LBB0_4
## %bb.3:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VSC_ADDR_OFFSET,4,2            ## @VSC_ADDR_OFFSET
	.comm	_VSC_ADDR_BIT_OFFS,4,2          ## @VSC_ADDR_BIT_OFFS
	.comm	_VSC_ADDR_BIT_LEN,4,2           ## @VSC_ADDR_BIT_LEN
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_mlx5_vsc_gw_read_fast
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlx5_vsc_gw_read_fast
_mlx5_vsc_gw_read_fast:                 ; @mlx5_vsc_gw_read_fast
	.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, x2
	mov	x19, x1
	mov	x21, x0
	mov	x2, x3
	bl	_mlx5_vsc_gw_read
	cbnz	w0, LBB0_5
; %bb.1:
Lloh0:
	adrp	x8, _VSC_ADDR_OFFSET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VSC_ADDR_OFFSET@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x21
	mov	x2, x20
	bl	_vsc_read
	cbnz	w0, LBB0_5
; %bb.2:
	ldr	w0, [x20]
Lloh3:
	adrp	x8, _VSC_ADDR_BIT_OFFS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _VSC_ADDR_BIT_OFFS@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x8, _VSC_ADDR_BIT_LEN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _VSC_ADDR_BIT_LEN@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	bl	_MLX5_EXTRACT
	str	w0, [x20]
	cmp	w0, w19
	b.ls	LBB0_4
; %bb.3:
	mov	w0, #0
	b	LBB0_5
LBB0_4:
Lloh9:
	adrp	x8, _EINVAL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_5:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_VSC_ADDR_OFFSET,4,2            ; @VSC_ADDR_OFFSET
	.comm	_VSC_ADDR_BIT_OFFS,4,2          ; @VSC_ADDR_BIT_OFFS
	.comm	_VSC_ADDR_BIT_LEN,4,2           ; @VSC_ADDR_BIT_LEN
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_mlx5_vsc_gw_read_fast
.subsections_via_symbols
