	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function relaxed_branch_length
_relaxed_branch_length:                 ## @relaxed_branch_length
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rdi, %r15
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.1:
	movq	%rsi, %rbx
	movl	24(%r15), %edi
	callq	_S_IS_DEFINED
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movl	24(%r15), %edi
	callq	_S_GET_SEGMENT
	cmpq	%rbx, %rax
	je	LBB0_7
LBB0_3:
	movq	_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	testl	%r14d, %r14d
	jne	LBB0_8
	jmp	LBB0_10
LBB0_4:
	movq	_TRUE@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_21
## %bb.5:
	testl	%r14d, %r14d
	jg	LBB0_12
LBB0_14:
	movl	$4, %ebx
	jmp	LBB0_15
LBB0_7:
	movl	24(%r15), %edi
	callq	_S_GET_VALUE
	movl	8(%r15), %ecx
	addl	16(%r15), %ecx
	addl	(%r15), %eax
	subl	%ecx, %eax
	addl	$-131076, %eax                  ## imm = 0xFFFDFFFC
	xorl	%ebx, %ebx
	cmpl	$-262144, %eax                  ## imm = 0xFFFC0000
	setb	%bl
	testl	%r14d, %r14d
	je	LBB0_10
LBB0_8:
	movl	4(%r15), %edi
	callq	_RELAX_BRANCH_TOOFAR
	cmpq	%rax, %rbx
	je	LBB0_10
## %bb.9:
	movl	4(%r15), %edi
	callq	_RELAX_BRANCH_UNCOND
	movl	%eax, %r12d
	movl	4(%r15), %edi
	callq	_RELAX_BRANCH_LIKELY
	movl	%eax, %r13d
	movl	4(%r15), %edi
	callq	_RELAX_BRANCH_LINK
	movl	%r12d, %edi
	movl	%r13d, %esi
	movl	%eax, %edx
	movq	%rbx, %rcx
	callq	_RELAX_BRANCH_ENCODE
	movl	%eax, 4(%r15)
LBB0_10:
	testq	%rbx, %rbx
	je	LBB0_21
## %bb.11:
	movl	4(%r15), %edi
	callq	_RELAX_BRANCH_LIKELY
	testl	%eax, %eax
	je	LBB0_14
LBB0_12:
	movl	$12, %ebx
LBB0_15:
	movq	_mips_pic@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_NO_PIC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_17
## %bb.16:
	movq	_mips_opts@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_ISA_MIPS1@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	cmpq	(%rcx), %rax
	sete	%dl
	leal	(%rbx,%rdx,4), %ebx
	addl	$8, %ebx
LBB0_17:
	testq	%r15, %r15
	je	LBB0_19
## %bb.18:
	movl	4(%r15), %edi
	callq	_RELAX_BRANCH_UNCOND
	testl	%eax, %eax
	jne	LBB0_22
	jmp	LBB0_20
LBB0_21:
	movl	$4, %ebx
	jmp	LBB0_22
LBB0_19:
	testl	%r14d, %r14d
	js	LBB0_22
LBB0_20:
	addl	$8, %ebx
LBB0_22:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FALSE,8,3                      ## @FALSE
	.comm	_TRUE,8,3                       ## @TRUE
	.comm	_mips_pic,8,3                   ## @mips_pic
	.comm	_NO_PIC,8,3                     ## @NO_PIC
	.comm	_mips_opts,8,3                  ## @mips_opts
	.comm	_ISA_MIPS1,8,3                  ## @ISA_MIPS1
	.no_dead_strip	_relaxed_branch_length
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function relaxed_branch_length
_relaxed_branch_length:                 ; @relaxed_branch_length
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x2
	mov	x20, x0
	cbz	x0, LBB0_4
; %bb.1:
	mov	x21, x1
	ldr	w0, [x20, #24]
	bl	_S_IS_DEFINED
	cbz	x0, LBB0_3
; %bb.2:
	ldr	w0, [x20, #24]
	bl	_S_GET_SEGMENT
	cmp	x0, x21
	b.eq	LBB0_7
LBB0_3:
Lloh0:
	adrp	x8, _FALSE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh2:
	ldr	x21, [x8]
	cbnz	w19, LBB0_8
	b	LBB0_10
LBB0_4:
Lloh3:
	adrp	x8, _TRUE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cbz	x8, LBB0_17
; %bb.5:
	cmp	w19, #1
	b.ge	LBB0_12
LBB0_6:
	mov	w21, #4
	b	LBB0_13
LBB0_7:
	ldr	w0, [x20, #24]
	bl	_S_GET_VALUE
	ldr	w8, [x20]
	ldr	w9, [x20, #16]
	ldr	w10, [x20, #8]
	add	w9, w10, w9
	add	w8, w0, w8
	sub	w8, w8, w9
	sub	w8, w8, #32, lsl #12            ; =131072
	sub	w8, w8, #4
	cmn	w8, #64, lsl #12                ; =262144
	cset	w21, lo
	cbz	w19, LBB0_10
LBB0_8:
	ldr	w0, [x20, #4]
	bl	_RELAX_BRANCH_TOOFAR
	cmp	x21, x0
	b.eq	LBB0_10
; %bb.9:
	ldr	w0, [x20, #4]
	bl	_RELAX_BRANCH_UNCOND
	mov	x22, x0
	ldr	w0, [x20, #4]
	bl	_RELAX_BRANCH_LIKELY
	mov	x23, x0
	ldr	w0, [x20, #4]
	bl	_RELAX_BRANCH_LINK
	mov	x2, x0
	mov	x0, x22
	mov	x1, x23
	mov	x3, x21
	bl	_RELAX_BRANCH_ENCODE
	str	w0, [x20, #4]
LBB0_10:
	cbz	x21, LBB0_17
; %bb.11:
	ldr	w0, [x20, #4]
	bl	_RELAX_BRANCH_LIKELY
	cbz	w0, LBB0_6
LBB0_12:
	mov	w21, #12
LBB0_13:
Lloh6:
	adrp	x8, _mips_pic@GOTPAGE
Lloh7:
	ldr	x8, [x8, _mips_pic@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
Lloh9:
	adrp	x9, _NO_PIC@GOTPAGE
Lloh10:
	ldr	x9, [x9, _NO_PIC@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_15
; %bb.14:
Lloh12:
	adrp	x8, _mips_opts@GOTPAGE
Lloh13:
	ldr	x8, [x8, _mips_opts@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
Lloh15:
	adrp	x9, _ISA_MIPS1@GOTPAGE
Lloh16:
	ldr	x9, [x9, _ISA_MIPS1@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x8, x9
	mov	w8, #8
	mov	w9, #12
	csel	w8, w9, w8, eq
	add	w21, w8, w21
LBB0_15:
	cbz	x20, LBB0_18
; %bb.16:
	ldr	w0, [x20, #4]
	bl	_RELAX_BRANCH_UNCOND
	cbnz	w0, LBB0_20
	b	LBB0_19
LBB0_17:
	mov	w21, #4
	b	LBB0_20
LBB0_18:
	tbnz	w19, #31, LBB0_20
LBB0_19:
	add	w21, w21, #8
LBB0_20:
	mov	x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_FALSE,8,3                      ; @FALSE
	.comm	_TRUE,8,3                       ; @TRUE
	.comm	_mips_pic,8,3                   ; @mips_pic
	.comm	_NO_PIC,8,3                     ; @NO_PIC
	.comm	_mips_opts,8,3                  ; @mips_opts
	.comm	_ISA_MIPS1,8,3                  ; @ISA_MIPS1
	.no_dead_strip	_relaxed_branch_length
.subsections_via_symbols
