	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_trans_rule
_parse_trans_rule:                      ## @parse_trans_rule
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	(%rsi), %rsi
	callq	_mlx4_hw_rule_sz
	testl	%eax, %eax
	js	LBB0_1
## %bb.3:
	movq	(%r15), %rsi
	movq	%rbx, %rdi
	callq	_mlx4_hw_rule_sz
	xorl	%r12d, %r12d
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	%eax, %edx
	callq	_memset
	movq	___sw_id_hw@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r15), %rcx
	movl	(%rax,%rcx,4), %edi
	callq	_cpu_to_be16
	movl	%eax, 120(%r14)
	movq	(%r15), %rsi
	movq	%rbx, %rdi
	callq	_mlx4_hw_rule_sz
	sarl	$2, %eax
	movl	%eax, (%r14)
	movq	(%r15), %rax
	addq	$-128, %rax
	cmpq	$6, %rax
	ja	LBB0_12
## %bb.4:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_10:
	movups	16(%r15), %xmm0
	movups	%xmm0, 24(%r14)
	jmp	LBB0_14
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_2:
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
	jmp	LBB0_15
LBB0_12:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subl	(%rax), %r12d
	jmp	LBB0_15
LBB0_11:
	movl	12(%r15), %edi
	callq	_be32_to_cpu
	shll	$8, %eax
	movl	%eax, %edi
	callq	_cpu_to_be32
	movq	%rax, 16(%r14)
	movl	8(%r15), %edi
	callq	_be32_to_cpu
	shll	$8, %eax
	movl	%eax, %edi
	callq	_cpu_to_be32
	movq	%rax, 8(%r14)
	jmp	LBB0_14
LBB0_8:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_9:
	movups	32(%r15), %xmm0
	movups	%xmm0, 40(%r14)
	jmp	LBB0_14
LBB0_13:
	leaq	48(%r15), %r12
	movl	60(%r15), %eax
	leaq	56(%r14), %rbx
	movl	%eax, 68(%r14)
	movl	56(%r15), %eax
	movl	%eax, 64(%r14)
	addq	$60, %r14
	leaq	52(%r15), %rsi
	movq	%r14, %rdi
	movl	$16, %edx
	callq	_memcpy
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movl	$16, %edx
	callq	_memcpy
	jmp	LBB0_14
LBB0_5:
	movq	112(%r14), %rdi
	movq	104(%r15), %rsi
	movq	_ETH_ALEN@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	callq	_memcpy
	movq	104(%r14), %rdi
	movq	96(%r15), %rsi
	movl	(%rbx), %edx
	callq	_memcpy
	movq	96(%r14), %rdi
	movq	88(%r15), %rsi
	movl	(%rbx), %edx
	callq	_memcpy
	movq	88(%r14), %rdi
	movq	80(%r15), %rsi
	movl	(%rbx), %edx
	callq	_memcpy
	cmpl	$0, 76(%r15)
	je	LBB0_7
## %bb.6:
	movl	$1, 72(%r14)
	movl	72(%r15), %eax
	movl	%eax, 84(%r14)
LBB0_7:
	movl	68(%r15), %eax
	movl	%eax, 80(%r14)
	movl	64(%r15), %eax
	movl	%eax, 76(%r14)
LBB0_14:
	movq	___rule_hw_sz@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r15), %rcx
	movl	(%rax,%rcx,4), %r12d
LBB0_15:
	movl	%r12d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
LJTI0_0:
	.long	L0_0_set_11
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_8
	.long	L0_0_set_9
	.long	L0_0_set_13
	.long	L0_0_set_5
	.end_data_region
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	___sw_id_hw,8,3                 ## @__sw_id_hw
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	___rule_hw_sz,8,3               ## @__rule_hw_sz
	.no_dead_strip	_parse_trans_rule
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_trans_rule
_parse_trans_rule:                      ; @parse_trans_rule
	.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
	ldr	x1, [x1]
	bl	_mlx4_hw_rule_sz
	tbnz	w0, #31, LBB0_4
; %bb.1:
	ldr	x1, [x19]
	mov	x0, x21
	bl	_mlx4_hw_rule_sz
	mov	x2, x0
	mov	x0, x20
	mov	w1, #0
	bl	_memset
Lloh0:
	adrp	x8, ___sw_id_hw@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___sw_id_hw@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x9, [x19]
	ldr	w0, [x8, x9, lsl #2]
	bl	_cpu_to_be16
	str	w0, [x20, #120]
	ldr	x1, [x19]
	mov	x0, x21
	bl	_mlx4_hw_rule_sz
	asr	w8, w0, #2
	str	w8, [x20]
	ldr	x8, [x19]
	sub	x8, x8, #128
	cmp	x8, #6
	b.hi	LBB0_4
; %bb.2:
Lloh3:
	adrp	x9, lJTI0_0@PAGE
Lloh4:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_3
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_3:
	ldr	q0, [x19, #16]
	stur	q0, [x20, #24]
	b	LBB0_13
LBB0_4:
Lloh5:
	adrp	x8, _EINVAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_5:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_14
LBB0_6:
	ldr	w0, [x19, #12]
	bl	_be32_to_cpu
	lsl	w0, w0, #8
	bl	_cpu_to_be32
	str	x0, [x20, #16]
	ldr	w0, [x19, #8]
	bl	_be32_to_cpu
	lsl	w0, w0, #8
	bl	_cpu_to_be32
	str	x0, [x20, #8]
	b	LBB0_13
LBB0_7:
Lloh7:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
	b	LBB0_5
LBB0_8:
	ldr	q0, [x19, #32]
	stur	q0, [x20, #40]
	b	LBB0_13
LBB0_9:
	add	x21, x19, #48
	add	x22, x20, #56
	ldr	d0, [x19, #56]
	str	d0, [x20, #64]
	add	x0, x20, #60
	add	x1, x19, #52
	mov	w2, #16
	bl	_memcpy
	mov	x0, x22
	mov	x1, x21
	mov	w2, #16
	bl	_memcpy
	b	LBB0_13
LBB0_10:
	ldr	x0, [x20, #112]
	ldr	x1, [x19, #104]
Lloh9:
	adrp	x21, _ETH_ALEN@GOTPAGE
Lloh10:
	ldr	x21, [x21, _ETH_ALEN@GOTPAGEOFF]
	ldr	w2, [x21]
	bl	_memcpy
	ldr	x0, [x20, #104]
	ldr	x1, [x19, #96]
	ldr	w2, [x21]
	bl	_memcpy
	ldr	x0, [x20, #96]
	ldr	x1, [x19, #88]
	ldr	w2, [x21]
	bl	_memcpy
	ldr	x0, [x20, #88]
	ldr	x1, [x19, #80]
	ldr	w2, [x21]
	bl	_memcpy
	ldr	w8, [x19, #76]
	cbz	w8, LBB0_12
; %bb.11:
	mov	w8, #1
	str	w8, [x20, #72]
	ldr	w8, [x19, #72]
	str	w8, [x20, #84]
LBB0_12:
	ldr	d0, [x19, #64]
	stur	d0, [x20, #76]
LBB0_13:
Lloh11:
	adrp	x8, ___rule_hw_sz@GOTPAGE
Lloh12:
	ldr	x8, [x8, ___rule_hw_sz@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	ldr	x9, [x19]
	ldr	w0, [x8, x9, lsl #2]
LBB0_14:
	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 AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_6-LBB0_3)>>2
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_7-LBB0_3)>>2
	.byte	(LBB0_8-LBB0_3)>>2
	.byte	(LBB0_9-LBB0_3)>>2
	.byte	(LBB0_10-LBB0_3)>>2
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	___sw_id_hw,8,3                 ; @__sw_id_hw
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	___rule_hw_sz,8,3               ; @__rule_hw_sz
	.no_dead_strip	_parse_trans_rule
.subsections_via_symbols
