	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dt_opt_strsize
_dt_opt_strsize:                        ## @dt_opt_strsize
	.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
	movq	%rdx, %r14
	movq	%rsi, %r13
	movq	%rdi, %rbx
	movq	8(%rdi), %rax
	movq	(%rax,%rdx,8), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	callq	_DT_STR_CTFP
	movq	%rax, %r15
	movq	%rbx, %rdi
	callq	_DT_STR_TYPE
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_ctf_type_resolve
	movl	%eax, %r12d
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movq	%r14, %rdx
	callq	_dt_opt_size
	movq	%rax, %rcx
	movl	$-1, %eax
	testq	%rcx, %rcx
	jne	LBB0_8
## %bb.1:
	movq	8(%rbx), %rax
	movq	(%rax,%r14,8), %rcx
	movq	_UINT_MAX@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jbe	LBB0_2
## %bb.9:
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, (%rax,%r14,8)
	movq	_EOVERFLOW@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dt_set_errno                   ## TAILCALL
LBB0_2:
	leaq	-56(%rbp), %rdx
	movq	%r15, %rdi
	movl	%r12d, %esi
	callq	_ctf_array_info
	movq	_CTF_ERR@GOTPCREL(%rip), %r13
	movq	8(%rbx), %rcx
	cmpq	(%r13), %rax
	jne	LBB0_4
## %bb.3:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, (%rcx,%r14,8)
	jmp	LBB0_7
LBB0_4:
	movq	(%rcx,%r14,8), %rax
	movq	%rax, -56(%rbp)
	leaq	-56(%rbp), %rdx
	movq	%r15, %rdi
	movl	%r12d, %esi
	callq	_ctf_set_array
	cmpq	(%r13), %rax
	je	LBB0_6
## %bb.5:
	movq	%r15, %rdi
	callq	_ctf_update
	movq	%rax, %rcx
	xorl	%eax, %eax
	cmpq	(%r13), %rcx
	jne	LBB0_8
LBB0_6:
	movq	8(%rbx), %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, (%rax,%r14,8)
LBB0_7:
	movq	%r15, %rdi
	callq	_ctf_errno
	movq	%rax, (%rbx)
	movq	_EDT_CTF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_dt_set_errno
LBB0_8:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_UINT_MAX,8,3                   ## @UINT_MAX
	.comm	_EOVERFLOW,4,2                  ## @EOVERFLOW
	.comm	_CTF_ERR,8,3                    ## @CTF_ERR
	.comm	_EDT_CTF,4,2                    ## @EDT_CTF
	.no_dead_strip	_dt_opt_strsize
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dt_opt_strsize
_dt_opt_strsize:                        ; @dt_opt_strsize
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x20, x2
	mov	x23, x1
	mov	x19, x0
	ldr	x8, [x0, #8]
	ldr	x24, [x8, x2, lsl #3]
	bl	_DT_STR_CTFP
	mov	x21, x0
	mov	x0, x19
	bl	_DT_STR_TYPE
	mov	x1, x0
	mov	x0, x21
	bl	_ctf_type_resolve
	mov	x22, x0
	mov	x0, x19
	mov	x1, x23
	mov	x2, x20
	bl	_dt_opt_size
	cbz	x0, LBB0_2
; %bb.1:
	mov	w0, #-1
	b	LBB0_9
LBB0_2:
	ldr	x8, [x19, #8]
	ldr	x9, [x8, x20, lsl #3]
Lloh0:
	adrp	x10, _UINT_MAX@GOTPAGE
Lloh1:
	ldr	x10, [x10, _UINT_MAX@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ls	LBB0_4
; %bb.3:
	str	x24, [x8, x20, lsl #3]
Lloh3:
	adrp	x8, _EOVERFLOW@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EOVERFLOW@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_dt_set_errno
LBB0_4:
	add	x2, sp, #8
	mov	x0, x21
	mov	x1, x22
	bl	_ctf_array_info
Lloh6:
	adrp	x23, _CTF_ERR@GOTPAGE
Lloh7:
	ldr	x23, [x23, _CTF_ERR@GOTPAGEOFF]
	ldr	x9, [x23]
	ldr	x8, [x19, #8]
	cmp	x0, x9
	b.eq	LBB0_8
; %bb.5:
	ldr	x8, [x8, x20, lsl #3]
	str	x8, [sp, #8]
	add	x2, sp, #8
	mov	x0, x21
	mov	x1, x22
	bl	_ctf_set_array
	ldr	x8, [x23]
	cmp	x0, x8
	b.eq	LBB0_7
; %bb.6:
	mov	x0, x21
	bl	_ctf_update
	ldr	x8, [x23]
	cmp	x0, x8
	b.ne	LBB0_10
LBB0_7:
	ldr	x8, [x19, #8]
LBB0_8:
	str	x24, [x8, x20, lsl #3]
	mov	x0, x21
	bl	_ctf_errno
	str	x0, [x19]
Lloh8:
	adrp	x8, _EDT_CTF@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EDT_CTF@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_dt_set_errno
LBB0_9:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_10:
	mov	w0, #0
	b	LBB0_9
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_UINT_MAX,8,3                   ; @UINT_MAX
	.comm	_EOVERFLOW,4,2                  ; @EOVERFLOW
	.comm	_CTF_ERR,8,3                    ; @CTF_ERR
	.comm	_EDT_CTF,4,2                    ; @EDT_CTF
	.no_dead_strip	_dt_opt_strsize
.subsections_via_symbols
