	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dof_add_translator
_dof_add_translator:                    ## @dof_add_translator
	.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	$136, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, %rbx
	movq	%rsp, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	40(%rdi), %r13
	movq	_DT_TYPE_NAMELEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -96(%rbp)                 ## 8-byte Spill
	movq	_DOF_SECT_XLIMPORT@GOTPCREL(%rip), %r14
	cmpq	%r12, (%r14)
	sete	%al
	movq	_DOF_SECT_XLEXPORT@GOTPCREL(%rip), %rcx
	cmpq	%r12, (%rcx)
	sete	%cl
	orb	%al, %cl
	movzbl	%cl, %edi
	callq	_assert
	xorl	%eax, %eax
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	cmpq	%r12, (%r14)
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	sete	%al
	movq	24(%rbx,%rax,8), %rcx
	movq	(%r14), %rax
	movq	(%rcx,%rax,8), %rax
	movq	_DOF_SECIDX_NONE@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	jne	LBB0_10
## %bb.1:
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	movq	%r15, -88(%rbp)                 ## 8-byte Spill
	leaq	4(%rbx), %rsi
	movq	%r13, %rdi
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	callq	_dt_buf_reset
	movq	40(%r14), %r14
	testq	%r14, %r14
	je	LBB0_9
## %bb.2:
	xorl	%r15d, %r15d
	leaq	-168(%rbp), %r12
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	32(%rax), %rax
	movq	(%r14), %rcx
	movl	(%rax,%rcx,4), %esi
	movq	%rbx, %rdi
	callq	_dof_add_difo
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%rax, -152(%rbp)
	movl	8(%r14), %esi
	movq	%rbx, %rdi
	callq	_dof_add_string
	movq	%rax, -160(%rbp)
	movq	%r13, %rdi
	movq	%r14, %rsi
	movq	%r12, %rdx
	callq	_dt_node_diftype
	movq	%r13, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movq	%r12, %rdx
	movl	$24, %ecx
	movl	$4, %r8d
	callq	_dt_buf_write
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%r15
	movq	16(%r14), %r14
	testq	%r14, %r14
	je	LBB0_9
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	_DOF_SECT_XLIMPORT@GOTPCREL(%rip), %rcx
	cmpq	%rax, (%rcx)
	jne	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	16(%rbx), %rax
	movq	(%rax), %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %edi
	movq	%r15, %rsi
	callq	_BT_TEST
	testl	%eax, %eax
	je	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	_DOF_SECIDX_NONE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jmp	LBB0_7
LBB0_9:
	movq	_DOF_SECT_XLMEMBERS@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	callq	_dt_buf_len
                                        ## kill: def $eax killed $eax def $rax
	subq	$8, %rsp
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movq	%r14, %rdx
	movl	$4, %ecx
	xorl	%r8d, %r8d
	movl	$24, %r9d
	pushq	%rax
	callq	_dof_add_lsect
	addq	$16, %rsp
	movq	%rax, -112(%rbp)
	leaq	8(%rbx), %rsi
	movq	%r13, %rdi
	movq	%r15, %rdx
	movl	$4, %ecx
	callq	_dt_buf_concat
	movl	(%rbx), %eax
	movl	%eax, -120(%rbp)
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movl	20(%r14), %esi
	movl	24(%r14), %edi
	movq	-96(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdx
	movq	-104(%rbp), %r15                ## 8-byte Reload
	movl	%r15d, %ecx
	callq	_ctf_type_name
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_dof_add_string
	movq	%rax, -128(%rbp)
	movl	$1, -144(%rbp)
	movl	12(%r14), %esi
	movl	16(%r14), %edi
	movq	%r12, %rdx
	movl	%r15d, %ecx
	callq	_ctf_type_name
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_dof_add_string
	movq	%rax, -136(%rbp)
	leaq	8(%r14), %rdi
	callq	_dof_attr
	movl	%eax, -140(%rbp)
	subq	$8, %rsp
	leaq	-144(%rbp), %rsi
	movq	%rbx, %rdi
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	movl	$4, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	pushq	$40
	callq	_dof_add_lsect
	addq	$16, %rsp
	movq	(%r14), %rcx
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	movq	%rax, (%rdx,%rcx,8)
	movq	-88(%rbp), %r15                 ## 8-byte Reload
LBB0_10:
	movq	%r15, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_12
## %bb.11:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_DT_TYPE_NAMELEN,4,2            ## @DT_TYPE_NAMELEN
	.comm	_DOF_SECT_XLIMPORT,8,3          ## @DOF_SECT_XLIMPORT
	.comm	_DOF_SECT_XLEXPORT,8,3          ## @DOF_SECT_XLEXPORT
	.comm	_DOF_SECIDX_NONE,8,3            ## @DOF_SECIDX_NONE
	.comm	_DOF_SECT_XLMEMBERS,8,3         ## @DOF_SECT_XLMEMBERS
	.no_dead_strip	_dof_add_translator
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dof_add_translator
_dof_add_translator:                    ; @dof_add_translator
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #96
	mov	x20, x2
	mov	x19, x1
	mov	x21, x0
	mov	x25, sp
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	ldr	x24, [x0, #40]
Lloh3:
	adrp	x8, _DT_TYPE_NAMELEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DT_TYPE_NAMELEN@GOTPAGEOFF]
Lloh5:
	ldr	w22, [x8]
	mov	x9, x22
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x22, #15
	and	x9, x9, #0x1fffffff0
	sub	x26, x8, x9
	mov	sp, x26
Lloh8:
	adrp	x28, _DOF_SECT_XLIMPORT@GOTPAGE
Lloh9:
	ldr	x28, [x28, _DOF_SECT_XLIMPORT@GOTPAGEOFF]
	ldr	x8, [x28]
	cmp	x8, x2
Lloh10:
	adrp	x8, _DOF_SECT_XLEXPORT@GOTPAGE
Lloh11:
	ldr	x8, [x8, _DOF_SECT_XLEXPORT@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	ccmp	x8, x2, #4, ne
	cset	w0, eq
	bl	_assert
	ldr	x8, [x28]
	mov	w9, #24
	mov	w10, #32
	cmp	x8, x20
	csel	x8, x10, x9, eq
	ldr	x10, [x21, x8]
	ldr	x8, [x19]
	ldr	x8, [x10, x8, lsl #3]
Lloh13:
	adrp	x23, _DOF_SECIDX_NONE@GOTPAGE
Lloh14:
	ldr	x23, [x23, _DOF_SECIDX_NONE@GOTPAGEOFF]
	ldr	x9, [x23]
	cmp	x8, x9
	b.ne	LBB0_10
; %bb.1:
	stp	x26, x10, [x29, #-176]          ; 16-byte Folded Spill
	stur	x25, [x29, #-160]               ; 8-byte Folded Spill
	add	x25, x21, #4
	mov	x0, x24
	mov	x1, x25
	bl	_dt_buf_reset
	ldr	x26, [x19, #40]
	cbz	x26, LBB0_9
; %bb.2:
	mov	x27, #0
	b	LBB0_6
LBB0_3:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x19, #32]
	ldr	x9, [x26]
	ldr	w1, [x8, x9, lsl #2]
	mov	x0, x21
	bl	_dof_add_difo
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	stur	x0, [x29, #-96]
	ldr	w1, [x26, #8]
	mov	x0, x21
	bl	_dof_add_string
	stur	x0, [x29, #-104]
	sub	x2, x29, #112
	mov	x0, x24
	mov	x1, x26
	bl	_dt_node_diftype
	sub	x2, x29, #112
	mov	x0, x24
	mov	x1, x25
	mov	w3, #24
	mov	w4, #4
	bl	_dt_buf_write
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x27, x27, #1
	ldr	x26, [x26, #16]
	cbz	x26, LBB0_9
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x28]
	cmp	x8, x20
	b.ne	LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x21, #16]
	ldr	x8, [x8]
	ldr	x9, [x19]
	ldr	w0, [x8, x9, lsl #2]
	mov	x1, x27
	bl	_BT_TEST
	cbz	w0, LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x0, [x23]
	b	LBB0_4
LBB0_9:
Lloh15:
	adrp	x8, _DOF_SECT_XLMEMBERS@GOTPAGE
Lloh16:
	ldr	x8, [x8, _DOF_SECT_XLMEMBERS@GOTPAGEOFF]
Lloh17:
	ldr	x26, [x8]
	mov	x0, x25
	bl	_dt_buf_len
	mov	x6, x0
	mov	x0, x21
	mov	x1, #0
	mov	x2, x26
	mov	w3, #4
	mov	w4, #0
	mov	w5, #24
	bl	_dof_add_lsect
	stur	x0, [x29, #-120]
	add	x1, x21, #8
	mov	x0, x24
	mov	x2, x25
	mov	w3, #4
	bl	_dt_buf_concat
	ldr	w8, [x21]
	stur	w8, [x29, #-128]
	ldp	w1, w0, [x19, #20]
	ldur	x23, [x29, #-176]               ; 8-byte Folded Reload
	mov	x2, x23
	mov	x3, x22
	bl	_ctf_type_name
	mov	x1, x0
	mov	x0, x21
	bl	_dof_add_string
	stur	x0, [x29, #-136]
	mov	w8, #1
	stur	w8, [x29, #-152]
	ldp	w1, w0, [x19, #12]
	mov	x2, x23
	mov	x3, x22
	bl	_ctf_type_name
	mov	x1, x0
	mov	x0, x21
	bl	_dof_add_string
	stur	x0, [x29, #-144]
	add	x0, x19, #8
	bl	_dof_attr
	stur	w0, [x29, #-148]
	sub	x1, x29, #152
	mov	x0, x21
	mov	x2, x20
	mov	w3, #4
	mov	w4, #0
	mov	w5, #0
	mov	w6, #40
	bl	_dof_add_lsect
	ldr	x8, [x19]
	ldp	x9, x25, [x29, #-168]           ; 16-byte Folded Reload
	str	x0, [x9, x8, lsl #3]
LBB0_10:
	mov	sp, x25
	ldur	x8, [x29, #-88]
Lloh18:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh19:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_12
; %bb.11:
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_12:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_DT_TYPE_NAMELEN,4,2            ; @DT_TYPE_NAMELEN
	.comm	_DOF_SECT_XLIMPORT,8,3          ; @DOF_SECT_XLIMPORT
	.comm	_DOF_SECT_XLEXPORT,8,3          ; @DOF_SECT_XLEXPORT
	.comm	_DOF_SECIDX_NONE,8,3            ; @DOF_SECIDX_NONE
	.comm	_DOF_SECT_XLMEMBERS,8,3         ; @DOF_SECT_XLMEMBERS
	.no_dead_strip	_dof_add_translator
.subsections_via_symbols
