	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dt_strdata_add
_dt_strdata_add:                        ## @dt_strdata_add
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movslq	(%rsi), %rbx
	xorl	%r14d, %r14d
	testq	%rbx, %rbx
	je	LBB0_18
## %bb.1:
	movq	%rdx, %r13
	movq	%rdi, %r12
	cmpl	(%rcx), %ebx
	jg	LBB0_3
## %bb.2:
	movq	(%r13), %rax
	cmpq	$0, -8(%rax,%rbx,8)
	jne	LBB0_18
LBB0_3:
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	leaq	-72(%rbp), %r14
	movq	%r14, %rdi
	movl	$24, %esi
	callq	_bzero
	movl	%ebx, -72(%rbp)
	xorps	%xmm0, %xmm0
	movups	%xmm0, -64(%rbp)
	movq	_DTRACEIOC_FORMAT@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%r12, %rbx
	movq	%r12, %rdi
	movq	%r14, %rdx
	callq	_dt_ioctl
	cmpl	$-1, %eax
	je	LBB0_12
## %bb.4:
	movq	-56(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_dt_alloc
	movq	%rax, -64(%rbp)
	testq	%rax, %rax
	je	LBB0_16
## %bb.5:
	movl	(%r15), %esi
	leaq	-72(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_dt_ioctl
	cmpl	$-1, %eax
	je	LBB0_14
## %bb.6:
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %r12d
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	cmpl	%r12d, (%rax)
	jle	LBB0_9
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	leal	(%r12,%r12), %r15d
	testl	%r12d, %r12d
	movl	$1, %eax
	cmovel	%eax, %r15d
	movslq	%r15d, %rsi
	shlq	$3, %rsi
	movq	%rbx, %rdi
	callq	_dt_zalloc
	testq	%rax, %rax
	je	LBB0_15
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	%rax, %r14
	movslq	%r12d, %rdx
	shlq	$3, %rdx
	movq	(%r13), %rsi
	movq	%rax, %rdi
	callq	_memmove
	movq	(%r13), %rdi
	callq	_free
	movq	%r14, (%r13)
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movl	%r15d, (%rax)
	movl	%r15d, %r12d
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	cmpl	%r15d, (%rax)
	jg	LBB0_7
LBB0_9:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	4(%rax), %eax
	cmpl	$128, %eax
	je	LBB0_19
## %bb.10:
	cmpl	$129, %eax
	movl	$0, %r14d
	jne	LBB0_20
## %bb.11:
	movq	-64(%rbp), %rbx
	jmp	LBB0_21
LBB0_12:
	movq	_errno@GOTPCREL(%rip), %rax
	jmp	LBB0_17
LBB0_14:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_dt_set_errno
	movl	%eax, %r14d
	movq	-64(%rbp), %rdi
	callq	_free
	jmp	LBB0_18
LBB0_15:
	movq	-64(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_dt_free
LBB0_16:
	movq	_EDT_NOMEM@GOTPCREL(%rip), %rax
LBB0_17:
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_dt_set_errno
	movl	%eax, %r14d
LBB0_18:
	movl	%r14d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_19:
	movq	-64(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_dtrace_printa_create
	movq	%rbx, %rdi
	movq	%rax, %rbx
	movq	-64(%rbp), %rsi
	callq	_dt_free
	xorl	%r14d, %r14d
	jmp	LBB0_21
LBB0_20:
	movq	-64(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_dtrace_printf_create
	movq	%rbx, %rdi
	movq	%rax, %rbx
	movq	-64(%rbp), %rsi
	callq	_dt_free
LBB0_21:
	testq	%rbx, %rbx
	je	LBB0_23
## %bb.22:
	movq	(%r13), %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movslq	(%rcx), %rcx
	movq	%rbx, -8(%rax,%rcx,8)
	jmp	LBB0_18
LBB0_23:
	movl	$-1, %r14d
	jmp	LBB0_18
	.cfi_endproc
                                        ## -- End function
	.comm	_DTRACEIOC_FORMAT,4,2           ## @DTRACEIOC_FORMAT
	.comm	_errno,4,2                      ## @errno
	.comm	_EDT_NOMEM,4,2                  ## @EDT_NOMEM
	.no_dead_strip	_dt_strdata_add
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dt_strdata_add
_dt_strdata_add:                        ; @dt_strdata_add
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	ldr	w23, [x1]
	cbz	w23, LBB0_3
; %bb.1:
	mov	x22, x3
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
	ldr	w8, [x3]
	cmp	w23, w8
	b.gt	LBB0_4
; %bb.2:
	ldr	x8, [x21]
	sub	w9, w23, #1
	ldr	x8, [x8, w9, sxtw #3]
	cbz	x8, LBB0_4
LBB0_3:
	mov	w19, #0
	b	LBB0_18
LBB0_4:
	add	x0, sp, #8
	mov	w1, #24
	bl	_bzero
	str	w23, [sp, #8]
	stp	xzr, xzr, [sp, #16]
Lloh0:
	adrp	x23, _DTRACEIOC_FORMAT@GOTPAGE
Lloh1:
	ldr	x23, [x23, _DTRACEIOC_FORMAT@GOTPAGEOFF]
	ldr	w1, [x23]
	add	x2, sp, #8
	mov	x0, x19
	bl	_dt_ioctl
	cmn	w0, #1
	b.eq	LBB0_13
; %bb.5:
	ldr	x1, [sp, #24]
	mov	x0, x19
	bl	_dt_alloc
	str	x0, [sp, #16]
	cbz	x0, LBB0_16
; %bb.6:
	ldr	w1, [x23]
	add	x2, sp, #8
	mov	x0, x19
	bl	_dt_ioctl
	cmn	w0, #1
	b.eq	LBB0_14
; %bb.7:
	ldr	w8, [x20]
	ldr	w25, [x22]
	cmp	w8, w25
	b.le	LBB0_10
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	lsl	w8, w25, #1
	cmp	w25, #0
	csinc	w24, w8, wzr, ne
	sbfiz	x1, x24, #3, #32
	mov	x0, x19
	bl	_dt_zalloc
	cbz	x0, LBB0_15
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x23, x0
	sbfiz	x2, x25, #3, #32
	ldr	x1, [x21]
	bl	_memmove
	ldr	x0, [x21]
	bl	_free
	str	x23, [x21]
	str	w24, [x22]
	ldr	w8, [x20]
	mov	x25, x24
	cmp	w8, w24
	b.gt	LBB0_8
LBB0_10:
	ldr	w8, [x20, #4]
	cmp	w8, #128
	b.eq	LBB0_19
; %bb.11:
	cmp	w8, #129
	b.ne	LBB0_20
; %bb.12:
	ldr	x22, [sp, #16]
	b	LBB0_22
LBB0_13:
Lloh2:
	adrp	x8, _errno@GOTPAGE
Lloh3:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
	b	LBB0_17
LBB0_14:
Lloh4:
	adrp	x8, _errno@GOTPAGE
Lloh5:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_dt_set_errno
	mov	x19, x0
	ldr	x0, [sp, #16]
	bl	_free
	b	LBB0_18
LBB0_15:
	ldr	x1, [sp, #16]
	mov	x0, x19
	bl	_dt_free
LBB0_16:
Lloh7:
	adrp	x8, _EDT_NOMEM@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EDT_NOMEM@GOTPAGEOFF]
LBB0_17:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_dt_set_errno
	mov	x19, x0
LBB0_18:
	mov	x0, x19
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_19:
	ldr	x1, [sp, #16]
	mov	x0, x19
	bl	_dtrace_printa_create
	b	LBB0_21
LBB0_20:
	ldr	x1, [sp, #16]
	mov	x0, x19
	bl	_dtrace_printf_create
LBB0_21:
	mov	x22, x0
	ldr	x1, [sp, #16]
	mov	x0, x19
	bl	_dt_free
LBB0_22:
	cbz	x22, LBB0_24
; %bb.23:
	mov	w19, #0
	ldr	x8, [x21]
	ldrsw	x9, [x20]
	add	x8, x8, x9, lsl #3
	stur	x22, [x8, #-8]
	b	LBB0_18
LBB0_24:
	mov	w19, #-1
	b	LBB0_18
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_DTRACEIOC_FORMAT,4,2           ; @DTRACEIOC_FORMAT
	.comm	_errno,4,2                      ; @errno
	.comm	_EDT_NOMEM,4,2                  ; @EDT_NOMEM
	.no_dead_strip	_dt_strdata_add
.subsections_via_symbols
