	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_atf_dynstr_init_substr         ## -- Begin function atf_dynstr_init_substr
	.p2align	4, 0x90
_atf_dynstr_init_substr:                ## @atf_dynstr_init_substr
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rsi), %r8
	cmpq	%rdx, %r8
	cmovbq	%r8, %rdx
	movq	_atf_dynstr_npos@GOTPCREL(%rip), %r9
	cmpq	%rcx, %r8
	movq	%rcx, %rax
	cmovbq	%r8, %rax
	cmpq	%rcx, (%r9)
	cmoveq	%r8, %rax
	subq	%rdx, %rax
	addq	8(%rsi), %rdx
	movq	%rdx, %rsi
	movq	%rax, %rdx
	popq	%rbp
	jmp	_atf_dynstr_init_raw            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_atf_dynstr_npos,8,3            ## @atf_dynstr_npos
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_atf_dynstr_init_substr         ; -- Begin function atf_dynstr_init_substr
	.p2align	2
_atf_dynstr_init_substr:                ; @atf_dynstr_init_substr
	.cfi_startproc
; %bb.0:
	ldp	x8, x9, [x1]
	cmp	x8, x2
	csel	x10, x8, x2, lo
Lloh0:
	adrp	x11, _atf_dynstr_npos@GOTPAGE
Lloh1:
	ldr	x11, [x11, _atf_dynstr_npos@GOTPAGEOFF]
Lloh2:
	ldr	x11, [x11]
	cmp	x8, x3
	ccmp	x11, x3, #4, hs
	csel	x8, x8, x3, eq
	add	x1, x9, x10
	sub	x2, x8, x10
	b	_atf_dynstr_init_raw
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_atf_dynstr_npos,8,3            ; @atf_dynstr_npos
.subsections_via_symbols
