	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function branch
_branch:                                ## @branch
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rcx
	movq	_ARM_CONSTANT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rcx)
	je	LBB0_4
## %bb.1:
	movq	_UT32_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	4(%rcx), %ecx
	cmpl	$134217727, %ecx                ## imm = 0x7FFFFFF
	jg	LBB0_7
## %bb.2:
	movl	%ecx, %edi
	andl	$3, %edi
	jne	LBB0_7
## %bb.3:
	movl	%edx, %eax
	orl	$3, %eax
	movl	%ecx, %edi
	subl	%esi, %edi
	cmovgel	%edx, %eax
	andl	$268435455, %edi                ## imm = 0xFFFFFFF
	subl	%esi, %ecx
	cmovll	%edi, %ecx
	movl	%ecx, %edx
	sarl	$2, %edx
	movl	%ecx, %esi
	sarl	$26, %esi
	orl	%eax, %esi
	movl	%edx, %eax
	shll	$24, %eax
	orl	%esi, %eax
	shll	$8, %edx
	andl	$16711680, %edx                 ## imm = 0xFF0000
	sarl	$10, %ecx
	andl	$-256, %ecx
	orl	%eax, %ecx
	orl	%edx, %ecx
	jmp	LBB0_6
LBB0_4:
	movl	8(%rcx), %ecx
	movl	$-1, %eax
	cmpl	$31, %ecx
	ja	LBB0_7
## %bb.5:
	movl	%ecx, %eax
	shll	$29, %eax
	orl	%edx, %eax
	andl	$-8, %ecx
	shll	$13, %ecx
	orl	%eax, %ecx
LBB0_6:
	movl	%ecx, %eax
LBB0_7:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_UT32_MAX,4,2                   ## @UT32_MAX
	.comm	_ARM_CONSTANT,4,2               ## @ARM_CONSTANT
	.no_dead_strip	_branch
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function branch
_branch:                                ; @branch
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
	ldr	w9, [x8]
Lloh0:
	adrp	x10, _ARM_CONSTANT@GOTPAGE
Lloh1:
	ldr	x10, [x10, _ARM_CONSTANT@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_3
; %bb.1:
	ldr	w8, [x8, #4]
	and	w9, w8, #0x3
	mov	w10, #134217727
	cmp	w8, w10
	ccmp	w9, #0, #0, le
	b.eq	LBB0_4
; %bb.2:
Lloh3:
	adrp	x8, _UT32_MAX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _UT32_MAX@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ret
LBB0_3:
	ldr	w8, [x8, #8]
	mov	w9, #-1
	orr	w10, w2, w8, lsl #29
	lsl	w11, w8, #13
	and	w11, w11, #0xffff0000
	orr	w10, w10, w11
	cmp	w8, #31
	csel	w0, w9, w10, hi
	ret
LBB0_4:
	subs	w8, w8, w1
	and	w9, w8, #0xfffffff
	orr	w10, w2, #0x3
	csel	w8, w9, w8, lt
	csel	w9, w10, w2, lt
	asr	w10, w8, #2
	lsl	w11, w10, #8
	and	w11, w11, #0xff0000
	asr	w12, w8, #10
	and	w12, w12, #0xffffff00
	orr	w8, w9, w8, asr #26
	orr	w8, w8, w10, lsl #24
	orr	w8, w8, w12
	orr	w0, w8, w11
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_UT32_MAX,4,2                   ; @UT32_MAX
	.comm	_ARM_CONSTANT,4,2               ; @ARM_CONSTANT
	.no_dead_strip	_branch
.subsections_via_symbols
