	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx5_esw_lag_prereq            ## -- Begin function mlx5_esw_lag_prereq
	.p2align	4, 0x90
_mlx5_esw_lag_prereq:                   ## @mlx5_esw_lag_prereq
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	movq	(%rax), %rcx
	movq	_MLX5_ESWITCH_NONE@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	jne	LBB0_2
## %bb.1:
	movq	(%rsi), %rdx
	movl	$1, %eax
	cmpq	%rcx, (%rdx)
	je	LBB0_5
LBB0_2:
	movq	_MLX5_ESWITCH_OFFLOADS@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	jne	LBB0_4
## %bb.3:
	movq	(%rsi), %rdx
	movl	$1, %eax
	cmpq	%rcx, (%rdx)
	je	LBB0_5
LBB0_4:
	xorl	%eax, %eax
LBB0_5:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MLX5_ESWITCH_NONE,8,3          ## @MLX5_ESWITCH_NONE
	.comm	_MLX5_ESWITCH_OFFLOADS,8,3      ## @MLX5_ESWITCH_OFFLOADS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx5_esw_lag_prereq            ; -- Begin function mlx5_esw_lag_prereq
	.p2align	2
_mlx5_esw_lag_prereq:                   ; @mlx5_esw_lag_prereq
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
	ldr	x8, [x8]
Lloh0:
	adrp	x9, _MLX5_ESWITCH_NONE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MLX5_ESWITCH_NONE@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.1:
	ldr	x9, [x1]
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_3
; %bb.2:
	mov	w0, #1
	ret
LBB0_3:
Lloh3:
	adrp	x9, _MLX5_ESWITCH_OFFLOADS@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MLX5_ESWITCH_OFFLOADS@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.4:
	ldr	x9, [x1]
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_6
; %bb.5:
	mov	w0, #1
	ret
LBB0_6:
	mov	w0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_MLX5_ESWITCH_NONE,8,3          ; @MLX5_ESWITCH_NONE
	.comm	_MLX5_ESWITCH_OFFLOADS,8,3      ; @MLX5_ESWITCH_OFFLOADS
.subsections_via_symbols
