	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx4_gen_guid_change_eqe       ## -- Begin function mlx4_gen_guid_change_eqe
	.p2align	4, 0x90
_mlx4_gen_guid_change_eqe:              ## @mlx4_gen_guid_change_eqe
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rcx
	xorl	%eax, %eax
	cmpl	%esi, (%rcx)
	jl	LBB0_2
## %bb.1:
	movl	%edx, %r15d
	movl	%esi, %r14d
	movq	%rdi, %rbx
	leaq	-48(%rbp), %r12
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	$12, %edx
	callq	_memset
	movq	_MLX4_EVENT_TYPE_PORT_MNG_CHG_EVENT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -40(%rbp)
	movq	_MLX4_DEV_PMC_SUBTYPE_GUID_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%r15d, %edx
	callq	_mlx4_phys_to_slave_port
	movl	%eax, -48(%rbp)
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movq	%r12, %rdx
	callq	_mlx4_GEN_EQE
LBB0_2:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MLX4_EVENT_TYPE_PORT_MNG_CHG_EVENT,4,2 ## @MLX4_EVENT_TYPE_PORT_MNG_CHG_EVENT
	.comm	_MLX4_DEV_PMC_SUBTYPE_GUID_INFO,4,2 ## @MLX4_DEV_PMC_SUBTYPE_GUID_INFO
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx4_gen_guid_change_eqe       ; -- Begin function mlx4_gen_guid_change_eqe
	.p2align	2
_mlx4_gen_guid_change_eqe:              ; @mlx4_gen_guid_change_eqe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	ldr	x8, [x0]
	ldr	w8, [x8]
	cmp	w8, w1
	b.ge	LBB0_2
; %bb.1:
	mov	w0, #0
	b	LBB0_3
LBB0_2:
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
	mov	x0, sp
	mov	w1, #0
	mov	w2, #12
	bl	_memset
Lloh0:
	adrp	x8, _MLX4_EVENT_TYPE_PORT_MNG_CHG_EVENT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MLX4_EVENT_TYPE_PORT_MNG_CHG_EVENT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _MLX4_DEV_PMC_SUBTYPE_GUID_INFO@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MLX4_DEV_PMC_SUBTYPE_GUID_INFO@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	stp	w9, w8, [sp, #4]
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	bl	_mlx4_phys_to_slave_port
	str	w0, [sp]
	mov	x2, sp
	mov	x0, x20
	mov	x1, x19
	bl	_mlx4_GEN_EQE
LBB0_3:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MLX4_EVENT_TYPE_PORT_MNG_CHG_EVENT,4,2 ; @MLX4_EVENT_TYPE_PORT_MNG_CHG_EVENT
	.comm	_MLX4_DEV_PMC_SUBTYPE_GUID_INFO,4,2 ; @MLX4_DEV_PMC_SUBTYPE_GUID_INFO
.subsections_via_symbols
