	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_arm_predict_branch             ## -- Begin function arm_predict_branch
	.p2align	4, 0x90
_arm_predict_branch:                    ## @arm_predict_branch
	.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
	movl	%esi, %eax
	shrl	$24, %eax
	andl	$15, %eax
	cmpl	$11, %eax
	ja	LBB0_11
## %bb.1:
	movq	%r9, %rbx
	movq	%r8, %r13
	movl	%edx, %r14d
	movl	%esi, %r12d
	movq	%rdi, %r15
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rax,4), %rax
	addq	%rdx, %rax
	jmpq	*%rax
LBB0_2:
	movl	%r12d, %ebx
	shrl	$16, %ebx
	andl	$15, %ebx
	movq	%r15, %rdi
	movl	%ebx, %esi
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	callq	*%r13
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
                                        ## kill: def $eax killed $eax def $rax
	leal	8(%rax), %edx
	cmpl	$15, %ebx
	cmovnel	%eax, %edx
	testl	$2097152, %r12d                 ## imm = 0x200000
	jne	LBB0_6
## %bb.3:
	movl	%edx, %r14d
	movl	%r12d, %esi
	andl	$15, %esi
	movq	%r15, %rdi
	callq	*%r13
	movl	%eax, %ebx
	testl	$4080, %r12d                    ## imm = 0xFF0
	je	LBB0_17
## %bb.4:
	testb	$16, %r12b
	jne	LBB0_18
## %bb.5:
	movl	%r12d, %ecx
	shrl	$7, %ecx
	andl	$31, %ecx
	jmp	LBB0_19
LBB0_6:
	leal	(,%r12,4), %eax
	movl	%eax, %edx
	andl	$67108860, %edx                 ## imm = 0x3FFFFFC
	orl	$-67108864, %eax                ## imm = 0xFC000000
	testl	$8388608, %r12d                 ## imm = 0x800000
	cmovel	%edx, %eax
	addl	%r14d, %eax
	addl	$8, %eax
	movl	%eax, (%rcx)
	jmp	LBB0_24
LBB0_7:
	movl	%r12d, %esi
	shrl	$16, %esi
	andl	$15, %esi
	movq	%r15, %rdi
	movq	%rcx, %r14
	callq	*%r13
	movl	%r12d, %ecx
	shll	$7, %ecx
	sarl	$31, %ecx
	andl	%r12d, %ecx
	andl	$4095, %ecx                     ## imm = 0xFFF
	movl	%ecx, %esi
	negl	%esi
	testl	$8388608, %r12d                 ## imm = 0x800000
	cmovnel	%ecx, %esi
	addl	%eax, %esi
	movl	%esi, -44(%rbp)
	leaq	-44(%rbp), %rdx
	movq	%r15, %rdi
	jmp	LBB0_16
LBB0_8:
	movq	%rcx, %r14
	movl	%r12d, %esi
	shrl	$16, %esi
	andl	$15, %esi
	movq	%r15, %rdi
	callq	*%r13
                                        ## kill: def $eax killed $eax def $rax
	movl	%r12d, %ecx
	andl	$21845, %ecx                    ## imm = 0x5555
	movl	%r12d, %edx
	shrl	%edx
	andl	$21845, %edx                    ## imm = 0x5555
	addl	%ecx, %edx
	movl	%edx, %ecx
	andl	$13107, %ecx                    ## imm = 0x3333
	shrl	$2, %edx
	andl	$13107, %edx                    ## imm = 0x3333
	addl	%ecx, %edx
	movl	%edx, %ecx
	shrl	$4, %ecx
	addl	%edx, %ecx
	andl	$3855, %ecx                     ## imm = 0xF0F
	movl	%ecx, %edx
	shrl	$8, %edx
	addl	%ecx, %edx
	movzbl	%dl, %ecx
	shrl	$23, %r12d
	andl	$3, %r12d
	leaq	LJTI0_1(%rip), %rdx
	movslq	(%rdx,%r12,4), %rsi
	addq	%rdx, %rsi
	jmpq	*%rsi
LBB0_9:
	leal	(%rax,%rcx,4), %eax
	addl	$-4, %eax
	jmp	LBB0_15
LBB0_10:
	andl	$15, %r12d
	movq	%r15, %rdi
	movl	%r12d, %esi
	movq	%rcx, %rbx
	callq	*%r13
	movl	%eax, (%rbx)
	jmp	LBB0_24
LBB0_11:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_25
LBB0_12:
	andl	$15, %r12d
	movq	%r15, %rdi
	movl	%r12d, %esi
	movq	%rcx, %r12
	callq	*%r13
                                        ## kill: def $eax killed $eax def $rax
	leal	(%r14,%rax,4), %esi
	addl	$8, %esi
	movl	%esi, -44(%rbp)
	leaq	-44(%rbp), %rdx
	movq	%r15, %rdi
	callq	*%rbx
	movl	-44(%rbp), %ecx
	movl	%ecx, (%r12)
	jmp	LBB0_25
LBB0_13:
	addl	$-4, %eax
	jmp	LBB0_15
LBB0_14:
	leal	(%rax,%rcx,4), %eax
LBB0_15:
	movl	%eax, -44(%rbp)
	leaq	-44(%rbp), %rdx
	movq	%r15, %rdi
	movl	%eax, %esi
LBB0_16:
	callq	*%rbx
	movl	-44(%rbp), %ecx
	movl	%ecx, (%r14)
	jmp	LBB0_25
LBB0_17:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	jmp	LBB0_23
LBB0_18:
	movl	%r12d, %esi
	shrl	$8, %esi
	andl	$15, %esi
	movq	%r15, %rdi
	callq	*%r13
	movl	%eax, %ecx
LBB0_19:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	shrl	$5, %r12d
	andl	$3, %r12d
	cmpl	$1, %r12d
	je	LBB0_22
## %bb.20:
	testl	%r12d, %r12d
	jne	LBB0_23
## %bb.21:
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %ebx
	jmp	LBB0_23
LBB0_22:
                                        ## kill: def $cl killed $cl killed $ecx
	sarl	%cl, %ebx
LBB0_23:
	addl	%ebx, %r14d
	movl	%r14d, (%rax)
LBB0_24:
	xorl	%eax, %eax
LBB0_25:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_10
	.long	L0_0_set_2
	.long	L0_0_set_11
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_11
	.long	L0_0_set_12
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_6
	.long	L0_0_set_6
.set L0_1_set_15, LBB0_15-LJTI0_1
.set L0_1_set_9, LBB0_9-LJTI0_1
.set L0_1_set_13, LBB0_13-LJTI0_1
.set L0_1_set_14, LBB0_14-LJTI0_1
LJTI0_1:
	.long	L0_1_set_15
	.long	L0_1_set_9
	.long	L0_1_set_13
	.long	L0_1_set_14
	.end_data_region
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_arm_predict_branch             ; -- Begin function arm_predict_branch
	.p2align	2
_arm_predict_branch:                    ; @arm_predict_branch
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
	ubfx	w8, w1, #24, #4
	cmp	w8, #11
	b.hi	LBB0_11
; %bb.1:
	mov	x21, x5
	mov	x23, x4
	mov	x19, x3
	mov	x24, x2
	mov	x22, x1
	mov	x20, x0
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	ubfx	w21, w22, #16, #4
	mov	x0, x20
	mov	x1, x21
	blr	x23
	add	w8, w0, #8
	cmp	w21, #15
	csel	w25, w8, w0, eq
	tbnz	w22, #21, LBB0_6
; %bb.3:
	and	w1, w22, #0xf
	mov	x0, x20
	blr	x23
	mov	x21, x0
	tst	w22, #0xff0
	b.eq	LBB0_20
; %bb.4:
	tbnz	w22, #4, LBB0_18
; %bb.5:
	ubfx	w0, w22, #7, #5
	b	LBB0_19
LBB0_6:
	mov	w0, #0
	lsl	w8, w22, #2
	and	w9, w8, #0x3fffffc
	orr	w8, w8, #0xfc000000
	tst	w22, #0x800000
	csel	w8, w9, w8, eq
	add	w8, w24, w8
	add	w8, w8, #8
	b	LBB0_16
LBB0_7:
	ubfx	w1, w22, #16, #4
	mov	x0, x20
	blr	x23
	lsl	w8, w22, #7
	and	w8, w22, w8, asr #31
	and	w8, w8, #0xfff
	tst	w22, #0x800000
	cneg	w8, w8, eq
	add	w1, w0, w8
	b	LBB0_15
LBB0_8:
	ubfx	w1, w22, #16, #4
	mov	x0, x20
	blr	x23
	mov	w8, #21845
	and	w9, w22, w8
	and	w8, w8, w22, lsr #1
	add	w8, w8, w9
	and	w9, w8, #0x33333333
	lsr	w8, w8, #2
	and	w8, w8, #0x33333333
	add	w8, w8, w9
	add	w8, w8, w8, lsr #4
	and	w8, w8, #0xf0f0f0f
	add	w8, w8, w8, lsr #8
	and	w8, w8, #0x1f
	ubfx	w9, w22, #23, #2
	mov	x1, x0
Lloh2:
	adrp	x10, lJTI0_1@PAGE
Lloh3:
	add	x10, x10, lJTI0_1@PAGEOFF
	adr	x11, LBB0_9
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_9:
	add	w8, w1, w8, lsl #2
	sub	w1, w8, #4
	b	LBB0_15
LBB0_10:
	and	w1, w22, #0xf
	mov	x0, x20
	blr	x23
	mov	x8, x0
	mov	w0, #0
	b	LBB0_16
LBB0_11:
Lloh4:
	adrp	x8, _EINVAL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	b	LBB0_17
LBB0_12:
	and	w1, w22, #0xf
	mov	x0, x20
	blr	x23
	add	w8, w24, w0, lsl #2
	add	w1, w8, #8
	b	LBB0_15
LBB0_13:
	sub	w1, w1, #4
	b	LBB0_15
LBB0_14:
	add	w1, w1, w8, lsl #2
LBB0_15:
	str	w1, [sp, #12]
	add	x2, sp, #12
	mov	x0, x20
	blr	x21
	ldr	w8, [sp, #12]
LBB0_16:
	str	w8, [x19]
LBB0_17:
	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
	add	sp, sp, #96
	ret
LBB0_18:
	ubfx	w1, w22, #8, #4
	mov	x0, x20
	blr	x23
LBB0_19:
	ubfx	w8, w22, #5, #2
	asr	w9, w21, w0
	lsl	w10, w21, w0
	cmp	w8, #0
	csel	w10, w21, w10, ne
	cmp	w8, #1
	csel	w21, w9, w10, eq
LBB0_20:
	mov	w0, #0
	add	w8, w25, w21
	b	LBB0_16
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_11-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_11-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
lJTI0_1:
	.byte	(LBB0_15-LBB0_9)>>2
	.byte	(LBB0_9-LBB0_9)>>2
	.byte	(LBB0_13-LBB0_9)>>2
	.byte	(LBB0_14-LBB0_9)>>2
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
.subsections_via_symbols
