	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __propagate_pkey_ev
___propagate_pkey_ev:                   ## @__propagate_pkey_ev
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $edx killed $edx def $rdx
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movq	%rdi, %r13
	movq	(%rdi), %rdi
	cmpl	$0, (%rdi)
	jle	LBB0_13
## %bb.1:
	movl	%ecx, %r12d
	movslq	-44(%rbp), %r14                 ## 4-byte Folded Reload
	leal	-1(%r14), %eax
	cltq
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	shll	$5, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%ebx, %ebx
	movl	%ecx, -60(%rbp)                 ## 4-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%ebx, %esi
	movq	%r14, %r12
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	movl	%r14d, %edx
	callq	_mlx4_gen_pkey_eqe
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %esi
	movl	%r14d, %edx
	movq	%r12, %r14
	movl	-60(%rbp), %r12d                ## 4-byte Reload
	movl	%r15d, %ecx
	movl	%eax, %r8d
	callq	_pr_debug
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	movq	(%r13), %rdi
	movslq	(%rdi), %rax
	cmpq	%rax, %rbx
	jge	LBB0_13
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
                                        ##       Child Loop BB0_8 Depth 3
	callq	_mlx4_master_func_num
	movl	%eax, %eax
	cmpq	%rax, %rbx
	je	LBB0_12
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r13), %rdi
	movl	%ebx, %esi
	callq	_mlx4_is_slave_active
	testl	%eax, %eax
	je	LBB0_12
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_5 Depth=2
	incl	%eax
	cmpl	$32, %eax
	je	LBB0_12
LBB0_5:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_8 Depth 3
	btl	%eax, %r12d
	jae	LBB0_11
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=2
	movq	(%r13), %rdi
	movq	8(%rdi), %rcx
	movl	(%rcx,%r14,4), %ecx
	testl	%ecx, %ecx
	jle	LBB0_11
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=2
	movq	8(%r13), %rdx
	movq	(%rdx,%rbx,8), %rdx
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movq	(%rdx,%rsi,8), %rdx
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	addl	%eax, %esi
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_8:                                 ##   Parent Loop BB0_2 Depth=1
                                        ##     Parent Loop BB0_5 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	cmpl	%esi, (%rdx,%r15,4)
	je	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=3
	incq	%r15
	cmpq	%r15, %rcx
	jne	LBB0_8
	jmp	LBB0_11
LBB0_13:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"propagate_pkey_ev: slave %d, port %d, ix %d (%d)\n"

	.no_dead_strip	___propagate_pkey_ev
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __propagate_pkey_ev
___propagate_pkey_ev:                   ; @__propagate_pkey_ev
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x0
	ldr	x0, [x0]
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_13
; %bb.1:
	mov	x19, x3
	mov	x20, x1
	mov	x22, #0
	sxtw	x25, w20
	sub	x26, x25, #1
	lsl	w27, w2, #5
Lloh0:
	adrp	x23, l_.str@PAGE
Lloh1:
	add	x23, x23, l_.str@PAGEOFF
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x1, x22
	mov	x2, x20
	bl	_mlx4_gen_pkey_eqe
	mov	x4, x0
	mov	x0, x23
	mov	x1, x22
	mov	x2, x20
	mov	x3, x24
	bl	_pr_debug
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x22, x22, #1
	ldr	x0, [x21]
	ldrsw	x8, [x0]
	cmp	x22, x8
	b.ge	LBB0_13
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
                                        ;       Child Loop BB0_11 Depth 3
	bl	_mlx4_master_func_num
	cmp	x22, w0, uxtw
	b.eq	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [x21]
	mov	x1, x22
	bl	_mlx4_is_slave_active
	cbz	w0, LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w8, #0
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=2
	add	w8, w8, #1
	cmp	w8, #32
	b.eq	LBB0_3
LBB0_8:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_11 Depth 3
	lsr	w9, w19, w8
	tbz	w9, #0, LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=2
	ldr	x0, [x21]
	ldr	x9, [x0, #8]
	ldr	w9, [x9, x25, lsl #2]
	cmp	w9, #1
	b.lt	LBB0_7
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=2
	mov	x24, #0
	ldr	x10, [x21, #8]
	ldr	x10, [x10, x22, lsl #3]
	ldr	x10, [x10, x26, lsl #3]
	add	w11, w8, w27
LBB0_11:                                ;   Parent Loop BB0_4 Depth=1
                                        ;     Parent Loop BB0_8 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldr	w12, [x10, x24, lsl #2]
	cmp	w12, w11
	b.eq	LBB0_2
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=3
	add	x24, x24, #1
	cmp	x9, x24
	b.ne	LBB0_11
	b	LBB0_7
LBB0_13:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"propagate_pkey_ev: slave %d, port %d, ix %d (%d)\n"

	.no_dead_strip	___propagate_pkey_ev
.subsections_via_symbols
