	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function retrieve_status
_retrieve_status:                       ## @retrieve_status
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	leaq	-64(%rbp), %rax
	movq	%rsi, %rdi
	movq	%rdx, %rsi
	movq	%rax, %rdx
	callq	_get_result_buffer
	movq	%rax, %r13
	movq	_DM_STATUS_TABLE_FLAG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	andl	(%rbx), %eax
	jne	LBB0_1
## %bb.2:
	movq	_STATUSTYPE_INFO@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_STATUSTYPE_TABLE@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
	movq	%r14, %rdi
	callq	_dm_table_get_num_targets
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	testl	%eax, %eax
	je	LBB0_19
## %bb.4:
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_dm_table_get_target
	cmpq	$25, -64(%rbp)
	jae	LBB0_7
## %bb.5:
	xorl	%r12d, %r12d
LBB0_6:
	movq	_DM_BUFFER_FULL_FLAG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	orl	%eax, (%rcx)
LBB0_17:
	testq	%r12, %r12
	je	LBB0_19
## %bb.18:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%r12, 8(%rax)
LBB0_19:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, 16(%rax)
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	%rax, %rcx
	xorl	%eax, %eax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	%r14, -88(%rbp)                 ## 8-byte Spill
	movl	$1, -56(%rbp)                   ## 4-byte Folded Spill
	xorl	%r12d, %r12d
	movq	%r13, %r15
	movq	%r13, %rbx
	movq	%r13, -96(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	$0, 16(%r15)
	movl	12(%rcx), %eax
	movl	%eax, 12(%r15)
	movl	8(%rcx), %eax
	movl	%eax, 8(%r15)
	movl	4(%r15), %edi
	movq	(%rcx), %rax
	movq	%rcx, %r13
	movl	8(%rax), %esi
	movl	$4, %edx
	callq	_strncpy
	leaq	24(%r15), %r14
	subq	%r14, %rbx
	addq	-64(%rbp), %rbx
	je	LBB0_6
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	(%r13), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_14
## %bb.11:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	%r13, %rdi
	movq	_DM_NOFLUSH_FLAG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	andl	(%rdx), %ecx
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	_DM_STATUS_NOFLUSH_FLAG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_13:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	orl	%ecx, %edx
	movl	-68(%rbp), %esi                 ## 4-byte Reload
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
                                        ## kill: def $edx killed $edx killed $rdx
	movq	%r14, %rcx
	movq	%rbx, %r8
	callq	*%rax
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_9 Depth=1
	movb	$0, (%r14)
LBB0_15:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	%r14, %rdi
	callq	_strlen
	incl	%eax
	cltq
	cmpq	%rax, %rbx
	movq	-96(%rbp), %r13                 ## 8-byte Reload
	je	LBB0_6
## %bb.16:                              ##   in Loop: Header=BB0_9 Depth=1
	addq	%rax, %r14
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movslq	4(%rax), %rax
	movq	%r14, %r12
	subq	%r13, %r12
	addq	%rax, %r12
	movq	%r14, %rdi
	callq	_align_ptr
	movq	%rax, %r14
	subl	%r13d, %eax
	movl	%eax, (%r15)
	movl	-56(%rbp), %ebx                 ## 4-byte Reload
	cmpl	%ebx, -52(%rbp)                 ## 4-byte Folded Reload
	je	LBB0_17
## %bb.8:                               ##   in Loop: Header=BB0_9 Depth=1
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movl	%ebx, %esi
	callq	_dm_table_get_target
	movq	%rax, %rcx
	movq	%r13, %rax
	subq	%r14, %rax
	addq	-64(%rbp), %rax
	incl	%ebx
	movl	%ebx, -56(%rbp)                 ## 4-byte Spill
	movq	%r14, %r15
	cmpq	$25, %rax
	movq	%r13, %rbx
	jae	LBB0_9
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_DM_STATUS_TABLE_FLAG,4,2       ## @DM_STATUS_TABLE_FLAG
	.comm	_STATUSTYPE_TABLE,4,2           ## @STATUSTYPE_TABLE
	.comm	_STATUSTYPE_INFO,4,2            ## @STATUSTYPE_INFO
	.comm	_DM_BUFFER_FULL_FLAG,4,2        ## @DM_BUFFER_FULL_FLAG
	.comm	_DM_NOFLUSH_FLAG,4,2            ## @DM_NOFLUSH_FLAG
	.comm	_DM_STATUS_NOFLUSH_FLAG,4,2     ## @DM_STATUS_NOFLUSH_FLAG
	.no_dead_strip	_retrieve_status
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function retrieve_status
_retrieve_status:                       ; @retrieve_status
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	mov	x8, x2
	mov	x19, x1
	mov	x22, x0
	add	x2, sp, #24
	mov	x0, x1
	mov	x1, x8
	bl	_get_result_buffer
	mov	x21, x0
	ldr	w8, [x19]
Lloh0:
	adrp	x9, _DM_STATUS_TABLE_FLAG@GOTPAGE
Lloh1:
	ldr	x9, [x9, _DM_STATUS_TABLE_FLAG@GOTPAGEOFF]
Lloh2:
	adrp	x10, _STATUSTYPE_INFO@GOTPAGE
Lloh3:
	ldr	x10, [x10, _STATUSTYPE_INFO@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
Lloh5:
	adrp	x11, _STATUSTYPE_TABLE@GOTPAGE
Lloh6:
	ldr	x11, [x11, _STATUSTYPE_TABLE@GOTPAGEOFF]
	tst	w9, w8
	csel	x8, x10, x11, eq
	ldr	w8, [x8]
	str	w8, [sp, #12]                   ; 4-byte Folded Spill
	mov	x0, x22
	bl	_dm_table_get_num_targets
	mov	x20, x0
	cbz	w0, LBB0_6
; %bb.1:
	mov	x0, x22
	mov	w1, #0
	bl	_dm_table_get_target
	ldr	x8, [sp, #24]
	cmp	x8, #25
	b.hs	LBB0_7
; %bb.2:
	mov	x23, #0
LBB0_3:
Lloh7:
	adrp	x8, _DM_BUFFER_FULL_FLAG@GOTPAGE
Lloh8:
	ldr	x8, [x8, _DM_BUFFER_FULL_FLAG@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
LBB0_4:
	cbz	x23, LBB0_6
; %bb.5:
	str	x23, [x19, #8]
LBB0_6:
	str	w20, [x19, #16]
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_7:
	mov	x26, x0
	str	x22, [sp, #16]                  ; 8-byte Folded Spill
	mov	x23, #0
	mov	w24, #0
	mov	w25, #1
	mov	x22, x21
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	str	xzr, [x22, #16]
	ldr	d0, [x26, #8]
	str	d0, [x22, #8]
	ldr	w0, [x22, #4]
	ldr	x8, [x26]
	ldr	w1, [x8, #8]
	mov	w2, #4
	bl	_strncpy
	add	x27, x22, #24
	ldr	x8, [sp, #24]
	sub	x9, x21, x27
	adds	x28, x8, x9
	b.eq	LBB0_3
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x8, [x26]
	ldr	x8, [x8]
	cbz	x8, LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	w9, [x19]
Lloh10:
	adrp	x10, _DM_NOFLUSH_FLAG@GOTPAGE
Lloh11:
	ldr	x10, [x10, _DM_NOFLUSH_FLAG@GOTPAGEOFF]
Lloh12:
	ldr	w10, [x10]
Lloh13:
	adrp	x11, _DM_STATUS_NOFLUSH_FLAG@GOTPAGE
Lloh14:
	ldr	x11, [x11, _DM_STATUS_NOFLUSH_FLAG@GOTPAGEOFF]
Lloh15:
	ldr	w11, [x11]
	tst	w10, w9
	csel	w9, wzr, w11, eq
	orr	w24, w9, w24
	mov	x0, x26
	ldr	w1, [sp, #12]                   ; 4-byte Folded Reload
	mov	x2, x24
	mov	x3, x27
	mov	x4, x28
	blr	x8
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_8 Depth=1
	strb	wzr, [x27]
LBB0_12:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x27
	bl	_strlen
	add	w8, w0, #1
	sxtw	x8, w8
	cmp	x28, x8
	b.eq	LBB0_3
; %bb.13:                               ;   in Loop: Header=BB0_8 Depth=1
	ldrsw	x9, [x19, #4]
	add	x0, x27, x8
	sub	x8, x0, x21
	add	x23, x8, x9
	bl	_align_ptr
	mov	x27, x0
	sub	w8, w27, w21
	str	w8, [x22]
	cmp	w20, w25
	b.eq	LBB0_4
; %bb.14:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	x0, [sp, #16]                   ; 8-byte Folded Reload
	mov	x1, x25
	bl	_dm_table_get_target
	mov	x26, x0
	ldr	x8, [sp, #24]
	sub	x9, x21, x27
	add	x8, x9, x8
	add	w25, w25, #1
	mov	x22, x27
	cmp	x8, #25
	b.hs	LBB0_8
	b	LBB0_3
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_DM_STATUS_TABLE_FLAG,4,2       ; @DM_STATUS_TABLE_FLAG
	.comm	_STATUSTYPE_TABLE,4,2           ; @STATUSTYPE_TABLE
	.comm	_STATUSTYPE_INFO,4,2            ; @STATUSTYPE_INFO
	.comm	_DM_BUFFER_FULL_FLAG,4,2        ; @DM_BUFFER_FULL_FLAG
	.comm	_DM_NOFLUSH_FLAG,4,2            ; @DM_NOFLUSH_FLAG
	.comm	_DM_STATUS_NOFLUSH_FLAG,4,2     ; @DM_STATUS_NOFLUSH_FLAG
	.no_dead_strip	_retrieve_status
.subsections_via_symbols
