	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mgn_dev_name
_mgn_dev_name:                          ## @mgn_dev_name
	.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	_MA_CTRL_DEV_FIRST@GOTPCREL(%rip), %rax
	cmpl	%edi, (%rax)
	jne	LBB0_1
## %bb.2:
	movl	$0, _mgn_dev_name.it(%rip)
	xorl	%edi, %edi
	jmp	LBB0_3
LBB0_1:
	movl	_mgn_dev_name.it(%rip), %edi
LBB0_3:
	movq	_IN_MAX_DEVS@GOTPCREL(%rip), %rbx
	cmpl	(%rbx), %edi
	jge	LBB0_7
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	$1, %esi
	movl	$1, %edx
	callq	_in_get_dev_name
	movl	_mgn_dev_name.it(%rip), %edi
	testq	%rax, %rax
	jne	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	incl	%edi
	movl	%edi, _mgn_dev_name.it(%rip)
	cmpl	(%rbx), %edi
	jl	LBB0_5
LBB0_7:
	xorl	%eax, %eax
LBB0_8:
	incl	%edi
	movl	%edi, _mgn_dev_name.it(%rip)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_mgn_dev_name.it,4,2 ## @mgn_dev_name.it
	.comm	_MA_CTRL_DEV_FIRST,4,2          ## @MA_CTRL_DEV_FIRST
	.comm	_IN_MAX_DEVS,4,2                ## @IN_MAX_DEVS
	.no_dead_strip	_mgn_dev_name
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mgn_dev_name
_mgn_dev_name:                          ; @mgn_dev_name
	.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
Lloh0:
	adrp	x8, _MA_CTRL_DEV_FIRST@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MA_CTRL_DEV_FIRST@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	adrp	x19, _mgn_dev_name.it@PAGE
	cmp	w8, w0
	b.ne	LBB0_2
; %bb.1:
	mov	w0, #0
	str	wzr, [x19, _mgn_dev_name.it@PAGEOFF]
	b	LBB0_3
LBB0_2:
	ldr	w0, [x19, _mgn_dev_name.it@PAGEOFF]
LBB0_3:
Lloh3:
	adrp	x20, _IN_MAX_DEVS@GOTPAGE
Lloh4:
	ldr	x20, [x20, _IN_MAX_DEVS@GOTPAGEOFF]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x20]
	cmp	w0, w8
	b.ge	LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w1, #1
	mov	w2, #1
	bl	_in_get_dev_name
	mov	x8, x0
	ldr	w0, [x19, _mgn_dev_name.it@PAGEOFF]
	cbnz	x8, LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	add	w0, w0, #1
	str	w0, [x19, _mgn_dev_name.it@PAGEOFF]
	b	LBB0_4
LBB0_7:
	mov	x8, #0
LBB0_8:
	add	w9, w0, #1
	str	w9, [x19, _mgn_dev_name.it@PAGEOFF]
	mov	x0, x8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_mgn_dev_name.it,4,2 ; @mgn_dev_name.it
	.comm	_MA_CTRL_DEV_FIRST,4,2          ; @MA_CTRL_DEV_FIRST
	.comm	_IN_MAX_DEVS,4,2                ; @IN_MAX_DEVS
	.no_dead_strip	_mgn_dev_name
.subsections_via_symbols
