	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dsgetinfo                      ## -- Begin function dsgetinfo
	.p2align	4, 0x90
_dsgetinfo:                             ## @dsgetinfo
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	xorl	%edi, %edi
	movq	%rbx, %rsi
	callq	_devstat_getdevs
	cmpl	$1, %eax
	je	LBB0_3
## %bb.1:
	cmpl	$-1, %eax
	jne	LBB0_4
## %bb.2:
	movq	_devstat_errbuf@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_errx                           ## TAILCALL
LBB0_3:
	movq	(%rbx), %rax
	movl	4(%rax), %ecx
	movq	_num_devices@GOTPCREL(%rip), %rdx
	movl	%ecx, (%rdx)
	movl	(%rax), %eax
	movq	_generation@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	leaq	L_.str.1(%rip), %rdi
	xorl	%esi, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_cmdkre                         ## TAILCALL
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s"

	.comm	_devstat_errbuf,4,2             ## @devstat_errbuf
	.comm	_num_devices,4,2                ## @num_devices
	.comm	_generation,4,2                 ## @generation
L_.str.1:                               ## @.str.1
	.asciz	"refresh"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dsgetinfo                      ; -- Begin function dsgetinfo
	.p2align	2
_dsgetinfo:                             ; @dsgetinfo
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	mov	x0, #0
	mov	x1, x19
	bl	_devstat_getdevs
	cmp	w0, #1
	b.eq	LBB0_3
; %bb.1:
	cmn	w0, #1
	b.ne	LBB0_4
; %bb.2:
Lloh0:
	adrp	x8, _devstat_errbuf@GOTPAGE
Lloh1:
	ldr	x8, [x8, _devstat_errbuf@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_errx
LBB0_3:
	ldr	x8, [x19]
	ldr	w9, [x8, #4]
Lloh5:
	adrp	x10, _num_devices@GOTPAGE
Lloh6:
	ldr	x10, [x10, _num_devices@GOTPAGEOFF]
Lloh7:
	str	w9, [x10]
Lloh8:
	adrp	x9, _generation@GOTPAGE
Lloh9:
	ldr	x9, [x9, _generation@GOTPAGEOFF]
	ldr	w8, [x8]
Lloh10:
	str	w8, [x9]
Lloh11:
	adrp	x0, l_.str.1@PAGE
Lloh12:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_cmdkre
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotStr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotStr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s"

	.comm	_devstat_errbuf,4,2             ; @devstat_errbuf
	.comm	_num_devices,4,2                ; @num_devices
	.comm	_generation,4,2                 ; @generation
l_.str.1:                               ; @.str.1
	.asciz	"refresh"

.subsections_via_symbols
