	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ctf_set_array                  ## -- Begin function ctf_set_array
	.p2align	4, 0x90
_ctf_set_array:                         ## @ctf_set_array
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rdi, %rbx
	callq	_ctf_dtd_lookup
	movq	%rax, %r15
	movq	_LCTF_RDWR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_1
## %bb.3:
	testq	%r15, %r15
	je	LBB0_5
## %bb.4:
	movl	8(%r15), %edi
	callq	_CTF_INFO_KIND
	movq	_CTF_K_ARRAY@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.6:
	movq	%rbx, -32(%rbp)
	movl	4(%r14), %esi
	leaq	-32(%rbp), %rdi
	callq	_ctf_lookup_by_id
	testq	%rax, %rax
	jne	LBB0_9
## %bb.7:
	movl	4(%r14), %esi
	movq	%rbx, %rdi
	callq	_ctf_dtd_lookup
	testq	%rax, %rax
	je	LBB0_8
LBB0_9:
	movq	%rbx, -32(%rbp)
	movl	(%r14), %esi
	leaq	-32(%rbp), %rdi
	callq	_ctf_lookup_by_id
	testq	%rax, %rax
	jne	LBB0_11
## %bb.10:
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_ctf_dtd_lookup
	testq	%rax, %rax
	je	LBB0_8
LBB0_11:
	movl	4(%r15), %esi
	movq	%rbx, %rdi
	callq	_ctf_ref_dec
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_ctf_ref_dec
	movq	_LCTF_DIRTY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%rbx)
	movq	(%r14), %rax
	movq	%rax, (%r15)
	movl	4(%r14), %esi
	movq	%rbx, %rdi
	callq	_ctf_ref_inc
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_ctf_ref_inc
	xorl	%eax, %eax
	jmp	LBB0_12
LBB0_5:
	movq	_ECTF_BADID@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_1:
	movq	_ECTF_RDONLY@GOTPCREL(%rip), %rax
LBB0_2:
	movl	(%rax), %esi
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ctf_set_errno                  ## TAILCALL
LBB0_8:
	movq	_ECTF_BADID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_ctf_set_errno
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LCTF_RDWR,4,2                  ## @LCTF_RDWR
	.comm	_ECTF_RDONLY,4,2                ## @ECTF_RDONLY
	.comm	_CTF_K_ARRAY,8,3                ## @CTF_K_ARRAY
	.comm	_ECTF_BADID,4,2                 ## @ECTF_BADID
	.comm	_LCTF_DIRTY,4,2                 ## @LCTF_DIRTY
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ctf_set_array                  ; -- Begin function ctf_set_array
	.p2align	2
_ctf_set_array:                         ; @ctf_set_array
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x20, x2
	mov	x19, x0
	bl	_ctf_dtd_lookup
	ldr	w8, [x19]
Lloh0:
	adrp	x9, _LCTF_RDWR@GOTPAGE
Lloh1:
	ldr	x9, [x9, _LCTF_RDWR@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_9
; %bb.1:
	mov	x21, x0
	cbz	x0, LBB0_8
; %bb.2:
	ldr	w0, [x21, #8]
	bl	_CTF_INFO_KIND
Lloh3:
	adrp	x8, _CTF_K_ARRAY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CTF_K_ARRAY@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_8
; %bb.3:
	str	x19, [sp, #8]
	ldr	w1, [x20, #4]
	add	x0, sp, #8
	bl	_ctf_lookup_by_id
	cbnz	x0, LBB0_5
; %bb.4:
	ldr	w1, [x20, #4]
	mov	x0, x19
	bl	_ctf_dtd_lookup
	cbz	x0, LBB0_11
LBB0_5:
	str	x19, [sp, #8]
	ldr	w1, [x20]
	add	x0, sp, #8
	bl	_ctf_lookup_by_id
	cbnz	x0, LBB0_7
; %bb.6:
	ldr	w1, [x20]
	mov	x0, x19
	bl	_ctf_dtd_lookup
	cbz	x0, LBB0_11
LBB0_7:
	ldr	w1, [x21, #4]
	mov	x0, x19
	bl	_ctf_ref_dec
	ldr	w1, [x21]
	mov	x0, x19
	bl	_ctf_ref_dec
Lloh6:
	adrp	x8, _LCTF_DIRTY@GOTPAGE
Lloh7:
	ldr	x8, [x8, _LCTF_DIRTY@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
	ldr	x8, [x20]
	str	x8, [x21]
	ldr	w1, [x20, #4]
	mov	x0, x19
	bl	_ctf_ref_inc
	ldr	w1, [x20]
	mov	x0, x19
	bl	_ctf_ref_inc
	mov	w0, #0
	b	LBB0_12
LBB0_8:
Lloh9:
	adrp	x8, _ECTF_BADID@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ECTF_BADID@GOTPAGEOFF]
	b	LBB0_10
LBB0_9:
Lloh11:
	adrp	x8, _ECTF_RDONLY@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ECTF_RDONLY@GOTPAGEOFF]
LBB0_10:
	ldr	w1, [x8]
	mov	x0, x19
	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
	add	sp, sp, #64
	b	_ctf_set_errno
LBB0_11:
Lloh13:
	adrp	x8, _ECTF_BADID@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ECTF_BADID@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_ctf_set_errno
LBB0_12:
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_LCTF_RDWR,4,2                  ; @LCTF_RDWR
	.comm	_ECTF_RDONLY,4,2                ; @ECTF_RDONLY
	.comm	_CTF_K_ARRAY,8,3                ; @CTF_K_ARRAY
	.comm	_ECTF_BADID,4,2                 ; @ECTF_BADID
	.comm	_LCTF_DIRTY,4,2                 ; @LCTF_DIRTY
.subsections_via_symbols
