	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __mlx4_ib_default_rules_match
___mlx4_ib_default_rules_match:         ## @__mlx4_ib_default_rules_match
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_default_table@GOTPCREL(%rip), %r15
	movq	(%r15), %rbx
	movl	(%rdi), %edi
	movl	4(%rsi), %esi
	callq	_rdma_port_get_link_layer
	movq	%rax, %r12
	movq	(%r15), %rdi
	callq	_ARRAY_SIZE
	movl	$-1, %r13d
	testl	%eax, %eax
	jle	LBB0_22
## %bb.1:
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	addq	$16, %rbx
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rsp, %r14
	movq	_IB_FLOW_SPEC_SUPPORT_LAYERS@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	%r15, %rax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rdi
	leal	(,%r15,4), %edx
	xorl	%esi, %esi
	callq	_memset
	cmpq	-16(%rbx), %r12
	je	LBB0_3
## %bb.20:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rsp
	incl	%r13d
	movq	_default_table@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_ARRAY_SIZE
	addq	$24, %rbx
	cmpl	%eax, %r13d
	jl	LBB0_2
## %bb.21:
	movl	$-1, %r13d
	jmp	LBB0_22
LBB0_3:
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	leaq	8(%rcx), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	_IB_FLOW_SPEC_SUPPORT_LAYERS@GOTPCREL(%rip), %rax
	movl	(%rax), %r11d
	movl	(%rcx), %r9d
	testl	%r11d, %r11d
	jle	LBB0_13
## %bb.4:
	movq	_IB_FLOW_SPEC_LAYER_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %r10d
	xorl	%edi, %edi
	xorl	%r8d, %r8d
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_5 Depth=1
	movslq	%esi, %rax
	addq	%rax, %rdx
	movb	%r15b, %r12b
	addl	%r12d, %r8d
	incq	%rdi
	cmpq	%rdi, %r11
	je	LBB0_13
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	%r9d, %r8d
	jge	LBB0_13
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	(%rdx), %esi
	movq	-8(%rbx), %rcx
	movl	(%rcx,%rdi,4), %eax
	movl	%eax, %ecx
	xorl	%esi, %ecx
	testl	%r10d, %ecx
	jne	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpl	%eax, %esi
	jne	LBB0_8
LBB0_10:                                ##   in Loop: Header=BB0_5 Depth=1
	xorl	%r12d, %r12d
	cmpl	%eax, %esi
	sete	%r15b
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_5 Depth=1
	xorl	%esi, %esi
	jmp	LBB0_12
LBB0_13:
	testl	%r9d, %r9d
	jle	LBB0_9
## %bb.14:
	xorl	%eax, %eax
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_15 Depth=1
	incl	%eax
	addq	%rdx, %rdi
	cmpl	%r9d, %eax
	je	LBB0_9
LBB0_15:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_18 Depth 2
	movslq	(%rdi), %rdx
	testl	%r11d, %r11d
	jle	LBB0_19
## %bb.16:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	(%rbx), %rcx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_18:                                ##   Parent Loop BB0_15 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpq	%rdx, (%rcx,%rsi,8)
	je	LBB0_8
## %bb.17:                              ##   in Loop: Header=BB0_18 Depth=2
	incq	%rsi
	cmpq	%rsi, %r11
	jne	LBB0_18
	jmp	LBB0_19
LBB0_8:
	movl	$-1, %r13d
LBB0_9:
	movq	%r14, %rsp
LBB0_22:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_24
## %bb.23:
	movl	%r13d, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_24:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_default_table,8,3              ## @default_table
	.comm	_IB_FLOW_SPEC_SUPPORT_LAYERS,4,2 ## @IB_FLOW_SPEC_SUPPORT_LAYERS
	.comm	_IB_FLOW_SPEC_LAYER_MASK,4,2    ## @IB_FLOW_SPEC_LAYER_MASK
	.no_dead_strip	___mlx4_ib_default_rules_match
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __mlx4_ib_default_rules_match
___mlx4_ib_default_rules_match:         ; @__mlx4_ib_default_rules_match
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	sub	sp, sp, #16
	mov	x20, x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
Lloh3:
	adrp	x24, _default_table@GOTPAGE
Lloh4:
	ldr	x24, [x24, _default_table@GOTPAGEOFF]
	ldr	x22, [x24]
	ldr	w0, [x0]
	ldr	w1, [x1, #4]
	bl	_rdma_port_get_link_layer
	mov	x21, x0
	ldr	x0, [x24]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_4
; %bb.1:
	mov	w19, #0
	add	x22, x22, #16
Lloh5:
	adrp	x25, _IB_FLOW_SPEC_SUPPORT_LAYERS@GOTPAGE
Lloh6:
	ldr	x25, [x25, _IB_FLOW_SPEC_SUPPORT_LAYERS@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x23, sp
	ldr	w12, [x25]
	lsl	x8, x12, #2
	mov	x9, x8
Lloh7:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh8:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x0, x9, x8
	mov	sp, x0
	lsl	w2, w12, #2
	mov	w1, #0
	bl	_memset
	ldur	x8, [x22, #-16]
	cmp	x21, x8
	b.eq	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	sp, x23
	add	w19, w19, #1
	ldr	x0, [x24]
	bl	_ARRAY_SIZE
	add	x22, x22, #24
	cmp	w19, w0
	b.lt	LBB0_2
LBB0_4:
	mov	w19, #-1
	b	LBB0_19
LBB0_5:
	ldr	w8, [x20], #8
	ldr	w9, [x25]
	cmp	w9, #1
	b.lt	LBB0_10
; %bb.6:
	mov	x10, #0
	mov	w11, #0
Lloh9:
	adrp	x12, _IB_FLOW_SPEC_LAYER_MASK@GOTPAGE
Lloh10:
	ldr	x12, [x12, _IB_FLOW_SPEC_LAYER_MASK@GOTPAGEOFF]
Lloh11:
	ldr	w12, [x12]
	lsl	x13, x9, #2
	mov	x14, x20
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w11, w8
	b.ge	LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w15, [x14]
	ldur	x16, [x22, #-8]
	ldr	w16, [x16, x10]
	eor	w17, w16, w15
	and	w17, w17, w12
	cmp	w17, #0
	ccmp	w15, w16, #4, eq
	b.ne	LBB0_17
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	cmp	w15, w16
	csel	w15, w15, wzr, eq
	add	x14, x14, w15, sxtw
	cinc	w11, w11, eq
	add	x10, x10, #4
	cmp	x13, x10
	b.ne	LBB0_7
LBB0_10:
	cmp	w8, #1
	b.lt	LBB0_18
; %bb.11:
	mov	w10, #0
	b	LBB0_13
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=1
	add	w10, w10, #1
	add	x20, x20, x11
	cmp	w10, w8
	b.eq	LBB0_18
LBB0_13:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_15 Depth 2
	ldrsw	x11, [x20]
	cmp	w9, #1
	b.lt	LBB0_12
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	x12, [x22]
	mov	x13, x9
LBB0_15:                                ;   Parent Loop BB0_13 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x14, [x12]
	cmp	x14, x11
	b.eq	LBB0_17
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=2
	add	x12, x12, #8
	subs	x13, x13, #1
	b.ne	LBB0_15
	b	LBB0_12
LBB0_17:
	mov	w19, #-1
LBB0_18:
	mov	sp, x23
LBB0_19:
	ldur	x8, [x29, #-72]
Lloh12:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh13:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_21
; %bb.20:
	mov	x0, x19
	sub	sp, x29, #64
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_21:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_default_table,8,3              ; @default_table
	.comm	_IB_FLOW_SPEC_SUPPORT_LAYERS,4,2 ; @IB_FLOW_SPEC_SUPPORT_LAYERS
	.comm	_IB_FLOW_SPEC_LAYER_MASK,4,2    ; @IB_FLOW_SPEC_LAYER_MASK
	.no_dead_strip	___mlx4_ib_default_rules_match
.subsections_via_symbols
