	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function getdrivedata
_getdrivedata:                          ## @getdrivedata
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	xorl	%edi, %edi
	callq	_devstat_getnumdevs
	movq	_num_devices@GOTPCREL(%rip), %r14
	movl	%eax, (%r14)
	testl	%eax, %eax
	jns	LBB0_2
## %bb.1:
	movq	_devstat_errbuf@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	callq	_xo_errx
LBB0_2:
	movl	$1, %edi
	movl	$12, %esi
	callq	_calloc
	movq	_cur@GOTPCREL(%rip), %r15
	movq	%rax, (%r15)
	movl	$1, %edi
	movl	$12, %esi
	callq	_calloc
	movq	_last@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	xorl	%edi, %edi
	movq	%r15, %rsi
	callq	_devstat_getdevs
	cmpl	$-1, %eax
	jne	LBB0_4
## %bb.3:
	movq	_devstat_errbuf@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	callq	_xo_errx
LBB0_4:
	movq	(%r15), %rax
	movl	8(%rax), %ecx
	movl	%ecx, (%r14)
	movl	4(%rax), %eax
	movq	_generation@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movl	$8, %edi
	callq	_malloc
	movq	_specified_devices@GOTPCREL(%rip), %r13
	movq	%rax, (%r13)
	movq	_num_devices_specified@GOTPCREL(%rip), %r14
	movl	$0, (%r14)
	movq	(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_10
## %bb.5:
	leaq	L_.str(%rip), %r15
	leaq	L_.str.1(%rip), %r12
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_6 Depth=1
	movq	(%rbx), %rcx
	movslq	(%r14), %rdx
	movq	%rcx, -8(%rax,%rdx,8)
	movq	8(%rbx), %rax
	addq	$8, %rbx
	testq	%rax, %rax
	je	LBB0_10
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movsbl	(%rax), %edi
	callq	_isdigit
	testq	%rax, %rax
	jne	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	(%r14), %eax
	leal	1(%rax), %ecx
	movl	%ecx, (%r14)
	movq	(%r13), %rdi
	leal	8(,%rax,8), %esi
	callq	_reallocf
	movq	%rax, (%r13)
	testq	%rax, %rax
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	$1, %edi
	movq	%r15, %rsi
	movq	%r12, %rdx
	callq	_xo_errx
	movq	(%r13), %rax
	jmp	LBB0_9
LBB0_10:
	movq	_dev_select@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_nflag@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_12
## %bb.11:
	movl	(%r14), %eax
	jmp	LBB0_14
LBB0_12:
	movq	_maxshowdevs@GOTPCREL(%rip), %rcx
	movl	(%r14), %eax
	cmpl	%eax, (%rcx)
	jge	LBB0_14
## %bb.13:
	movl	%eax, (%rcx)
LBB0_14:
	movq	_num_matches@GOTPCREL(%rip), %r15
	movq	_DS_SELECT_ONLY@GOTPCREL(%rip), %r12
	testl	%eax, %eax
	jne	LBB0_18
## %bb.15:
	cmpq	$0, (%r15)
	jne	LBB0_18
## %bb.16:
	movq	_da@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_matches@GOTPCREL(%rip), %rsi
	movq	_num_matches@GOTPCREL(%rip), %rdx
	callq	_devstat_buildmatch
	movq	_DS_SELECT_ADD@GOTPCREL(%rip), %r12
	testq	%rax, %rax
	je	LBB0_18
## %bb.17:
	movq	_devstat_errbuf@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	callq	_xo_errx
LBB0_18:
	movl	(%r12), %eax
	movq	_select_mode@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_generation@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	movq	_cur@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rcx), %r9d
	movq	_num_devices@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r10d
	movq	_matches@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r11d
	movl	(%r14), %r14d
	movq	_maxshowdevs@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r12d
	movq	_dev_select@GOTPCREL(%rip), %rdi
	movq	_num_selected@GOTPCREL(%rip), %rsi
	movq	_num_selections@GOTPCREL(%rip), %rdx
	movq	_select_generation@GOTPCREL(%rip), %rcx
	pushq	$0
	pushq	%r12
	pushq	%rax
	pushq	%r14
	pushq	(%r13)
	pushq	(%r15)
	pushq	%r11
	pushq	%r10
	callq	_devstat_selectdevs
	addq	$64, %rsp
	cmpl	$-1, %eax
	jne	LBB0_20
## %bb.19:
	movq	_devstat_errbuf@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	callq	_xo_errx
LBB0_20:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_num_devices,4,2                ## @num_devices
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s"

	.comm	_devstat_errbuf,8,3             ## @devstat_errbuf
	.comm	_cur,8,3                        ## @cur
	.comm	_last,8,3                       ## @last
	.comm	_generation,4,2                 ## @generation
	.comm	_specified_devices,8,3          ## @specified_devices
	.comm	_num_devices_specified,4,2      ## @num_devices_specified
L_.str.1:                               ## @.str.1
	.asciz	"reallocf (specified_devices)"

	.comm	_dev_select,8,3                 ## @dev_select
	.comm	_nflag,8,3                      ## @nflag
	.comm	_maxshowdevs,4,2                ## @maxshowdevs
	.comm	_num_matches,8,3                ## @num_matches
	.comm	_da,4,2                         ## @da
	.comm	_matches,4,2                    ## @matches
	.comm	_DS_SELECT_ADD,4,2              ## @DS_SELECT_ADD
	.comm	_select_mode,4,2                ## @select_mode
	.comm	_DS_SELECT_ONLY,4,2             ## @DS_SELECT_ONLY
	.comm	_num_selected,4,2               ## @num_selected
	.comm	_num_selections,4,2             ## @num_selections
	.comm	_select_generation,4,2          ## @select_generation
	.no_dead_strip	_getdrivedata
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function getdrivedata
_getdrivedata:                          ; @getdrivedata
	.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	x19, x0
	mov	x0, #0
	bl	_devstat_getnumdevs
Lloh0:
	adrp	x23, _num_devices@GOTPAGE
Lloh1:
	ldr	x23, [x23, _num_devices@GOTPAGEOFF]
	str	w0, [x23]
	tbz	w0, #31, LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _devstat_errbuf@GOTPAGE
Lloh3:
	ldr	x8, [x8, _devstat_errbuf@GOTPAGEOFF]
Lloh4:
	ldr	x2, [x8]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_xo_errx
LBB0_2:
	mov	w0, #1
	mov	w1, #12
	bl	_calloc
Lloh7:
	adrp	x20, _cur@GOTPAGE
Lloh8:
	ldr	x20, [x20, _cur@GOTPAGEOFF]
	str	x0, [x20]
	mov	w0, #1
	mov	w1, #12
	bl	_calloc
Lloh9:
	adrp	x8, _last@GOTPAGE
Lloh10:
	ldr	x8, [x8, _last@GOTPAGEOFF]
Lloh11:
	str	x0, [x8]
	mov	x0, #0
	mov	x1, x20
	bl	_devstat_getdevs
	cmn	w0, #1
	b.ne	LBB0_4
; %bb.3:
Lloh12:
	adrp	x8, _devstat_errbuf@GOTPAGE
Lloh13:
	ldr	x8, [x8, _devstat_errbuf@GOTPAGEOFF]
Lloh14:
	ldr	x2, [x8]
Lloh15:
	adrp	x1, l_.str@PAGE
Lloh16:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_xo_errx
LBB0_4:
	ldr	x8, [x20]
	ldp	w8, w9, [x8, #4]
	str	w9, [x23]
Lloh17:
	adrp	x24, _generation@GOTPAGE
Lloh18:
	ldr	x24, [x24, _generation@GOTPAGEOFF]
	str	w8, [x24]
	mov	w0, #8
	bl	_malloc
Lloh19:
	adrp	x25, _specified_devices@GOTPAGE
Lloh20:
	ldr	x25, [x25, _specified_devices@GOTPAGEOFF]
	str	x0, [x25]
Lloh21:
	adrp	x26, _num_devices_specified@GOTPAGE
Lloh22:
	ldr	x26, [x26, _num_devices_specified@GOTPAGEOFF]
	str	wzr, [x26]
	ldr	x8, [x19]
	cbz	x8, LBB0_10
; %bb.5:
Lloh23:
	adrp	x21, l_.str@PAGE
Lloh24:
	add	x21, x21, l_.str@PAGEOFF
Lloh25:
	adrp	x22, l_.str.1@PAGE
Lloh26:
	add	x22, x22, l_.str.1@PAGEOFF
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [x19]
	ldrsw	x9, [x26]
	add	x9, x0, x9, lsl #3
	stur	x8, [x9, #-8]
	ldr	x8, [x19, #8]!
	cbz	x8, LBB0_10
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldrsb	w0, [x8]
	bl	_isdigit
	cbnz	x0, LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w8, [x26]
	add	w8, w8, #1
	str	w8, [x26]
	ldr	x0, [x25]
	lsl	w1, w8, #3
	bl	_reallocf
	str	x0, [x25]
	cbnz	x0, LBB0_6
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	w0, #1
	mov	x1, x21
	mov	x2, x22
	bl	_xo_errx
	ldr	x0, [x25]
	b	LBB0_6
LBB0_10:
Lloh27:
	adrp	x8, _dev_select@GOTPAGE
Lloh28:
	ldr	x8, [x8, _dev_select@GOTPAGEOFF]
Lloh29:
	str	xzr, [x8]
Lloh30:
	adrp	x8, _nflag@GOTPAGE
Lloh31:
	ldr	x8, [x8, _nflag@GOTPAGEOFF]
Lloh32:
	ldr	x8, [x8]
Lloh33:
	adrp	x21, _maxshowdevs@GOTPAGE
Lloh34:
	ldr	x21, [x21, _maxshowdevs@GOTPAGEOFF]
	cbz	x8, LBB0_12
; %bb.11:
	ldr	w8, [x26]
	b	LBB0_14
LBB0_12:
	ldr	w9, [x21]
	ldr	w8, [x26]
	cmp	w9, w8
	b.ge	LBB0_14
; %bb.13:
	str	w8, [x21]
LBB0_14:
Lloh35:
	adrp	x22, _num_matches@GOTPAGE
Lloh36:
	ldr	x22, [x22, _num_matches@GOTPAGEOFF]
	ldr	x9, [x22]
	cmp	w8, #0
	ccmp	x9, #0, #0, eq
Lloh37:
	adrp	x27, _matches@GOTPAGE
Lloh38:
	ldr	x27, [x27, _matches@GOTPAGEOFF]
	b.eq	LBB0_16
; %bb.15:
Lloh39:
	adrp	x8, _DS_SELECT_ONLY@GOTPAGE
Lloh40:
	ldr	x8, [x8, _DS_SELECT_ONLY@GOTPAGEOFF]
	b	LBB0_19
LBB0_16:
Lloh41:
	adrp	x8, _da@GOTPAGE
Lloh42:
	ldr	x8, [x8, _da@GOTPAGEOFF]
Lloh43:
	ldr	w0, [x8]
Lloh44:
	adrp	x1, _matches@GOTPAGE
Lloh45:
	ldr	x1, [x1, _matches@GOTPAGEOFF]
Lloh46:
	adrp	x2, _num_matches@GOTPAGE
Lloh47:
	ldr	x2, [x2, _num_matches@GOTPAGEOFF]
	bl	_devstat_buildmatch
	cbz	x0, LBB0_18
; %bb.17:
Lloh48:
	adrp	x8, _devstat_errbuf@GOTPAGE
Lloh49:
	ldr	x8, [x8, _devstat_errbuf@GOTPAGEOFF]
Lloh50:
	ldr	x2, [x8]
Lloh51:
	adrp	x1, l_.str@PAGE
Lloh52:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_xo_errx
LBB0_18:
Lloh53:
	adrp	x8, _DS_SELECT_ADD@GOTPAGE
Lloh54:
	ldr	x8, [x8, _DS_SELECT_ADD@GOTPAGEOFF]
LBB0_19:
	ldr	w8, [x8]
Lloh55:
	adrp	x9, _select_mode@GOTPAGE
Lloh56:
	ldr	x9, [x9, _select_mode@GOTPAGEOFF]
Lloh57:
	str	w8, [x9]
	ldr	w4, [x24]
	ldr	x9, [x20]
	ldr	w5, [x9]
	ldr	w6, [x23]
	ldr	w7, [x27]
	ldr	x9, [x22]
	ldr	x10, [x25]
	ldr	w11, [x26]
	ldr	w12, [x21]
	stp	w12, wzr, [sp, #24]
	stp	w11, w8, [sp, #16]
	stp	x9, x10, [sp]
Lloh58:
	adrp	x0, _dev_select@GOTPAGE
Lloh59:
	ldr	x0, [x0, _dev_select@GOTPAGEOFF]
Lloh60:
	adrp	x1, _num_selected@GOTPAGE
Lloh61:
	ldr	x1, [x1, _num_selected@GOTPAGEOFF]
Lloh62:
	adrp	x2, _num_selections@GOTPAGE
Lloh63:
	ldr	x2, [x2, _num_selections@GOTPAGEOFF]
Lloh64:
	adrp	x3, _select_generation@GOTPAGE
Lloh65:
	ldr	x3, [x3, _select_generation@GOTPAGEOFF]
	bl	_devstat_selectdevs
	cmn	w0, #1
	b.ne	LBB0_21
; %bb.20:
Lloh66:
	adrp	x8, _devstat_errbuf@GOTPAGE
Lloh67:
	ldr	x8, [x8, _devstat_errbuf@GOTPAGEOFF]
Lloh68:
	ldr	x2, [x8]
Lloh69:
	adrp	x1, l_.str@PAGE
Lloh70:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_xo_errx
LBB0_21:
	mov	x0, x19
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotStr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotStr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh46, Lloh47
	.loh AdrpLdrGot	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpAdd	Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGot	Lloh53, Lloh54
	.loh AdrpLdrGot	Lloh64, Lloh65
	.loh AdrpLdrGot	Lloh62, Lloh63
	.loh AdrpLdrGot	Lloh60, Lloh61
	.loh AdrpLdrGot	Lloh58, Lloh59
	.loh AdrpLdrGotStr	Lloh55, Lloh56, Lloh57
	.loh AdrpAdd	Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.cfi_endproc
                                        ; -- End function
	.comm	_num_devices,4,2                ; @num_devices
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s"

	.comm	_devstat_errbuf,8,3             ; @devstat_errbuf
	.comm	_cur,8,3                        ; @cur
	.comm	_last,8,3                       ; @last
	.comm	_generation,4,2                 ; @generation
	.comm	_specified_devices,8,3          ; @specified_devices
	.comm	_num_devices_specified,4,2      ; @num_devices_specified
l_.str.1:                               ; @.str.1
	.asciz	"reallocf (specified_devices)"

	.comm	_dev_select,8,3                 ; @dev_select
	.comm	_nflag,8,3                      ; @nflag
	.comm	_maxshowdevs,4,2                ; @maxshowdevs
	.comm	_num_matches,8,3                ; @num_matches
	.comm	_da,4,2                         ; @da
	.comm	_matches,4,2                    ; @matches
	.comm	_DS_SELECT_ADD,4,2              ; @DS_SELECT_ADD
	.comm	_select_mode,4,2                ; @select_mode
	.comm	_DS_SELECT_ONLY,4,2             ; @DS_SELECT_ONLY
	.comm	_num_selected,4,2               ; @num_selected
	.comm	_num_selections,4,2             ; @num_selections
	.comm	_select_generation,4,2          ; @select_generation
	.no_dead_strip	_getdrivedata
.subsections_via_symbols
