	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nodemgr_create_ud_dev_files
_nodemgr_create_ud_dev_files:           ## @nodemgr_create_ud_dev_files
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	leaq	24(%rdi), %r15
	movq	_fw_ud_attrs@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_5
## %bb.1:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rax
	movq	(%rax,%rbx,8), %rsi
	movq	%r15, %rdi
	callq	_device_create_file
	testq	%rax, %rax
	jne	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_3 Depth=1
	incq	%rbx
	movq	(%r12), %rdi
	callq	_ARRAY_SIZE
	cltq
	cmpq	%rax, %rbx
	jl	LBB0_3
LBB0_5:
	movl	(%r14), %eax
	movq	_UNIT_DIRECTORY_SPECIFIER_ID@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_8
## %bb.6:
	movq	_dev_attr_ud_specifier_id@GOTPCREL(%rip), %rsi
	movq	%r15, %rdi
	callq	_device_create_file
	testq	%rax, %rax
	jne	LBB0_4
## %bb.7:
	movl	(%r14), %eax
LBB0_8:
	movq	_UNIT_DIRECTORY_VERSION@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_11
## %bb.9:
	movq	_dev_attr_ud_version@GOTPCREL(%rip), %rsi
	movq	%r15, %rdi
	callq	_device_create_file
	testq	%rax, %rax
	jne	LBB0_4
## %bb.10:
	movl	(%r14), %eax
LBB0_11:
	movq	_UNIT_DIRECTORY_VENDOR_ID@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_15
## %bb.12:
	movq	_dev_attr_ud_vendor_id@GOTPCREL(%rip), %rsi
	movq	%r15, %rdi
	callq	_device_create_file
	testq	%rax, %rax
	jne	LBB0_4
## %bb.13:
	cmpq	$0, 16(%r14)
	je	LBB0_15
## %bb.14:
	movq	_dev_attr_ud_vendor_name_kv@GOTPCREL(%rip), %rsi
	movq	%r15, %rdi
	callq	_device_create_file
	testq	%rax, %rax
	jne	LBB0_4
LBB0_15:
	movq	_UNIT_DIRECTORY_MODEL_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r14)
	je	LBB0_19
## %bb.16:
	movq	_dev_attr_ud_model_id@GOTPCREL(%rip), %rsi
	movq	%r15, %rdi
	callq	_device_create_file
	testq	%rax, %rax
	je	LBB0_17
LBB0_4:
	leaq	L_.str(%rip), %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_HPSB_ERR                       ## TAILCALL
LBB0_17:
	cmpq	$0, 8(%r14)
	je	LBB0_19
## %bb.18:
	movq	_dev_attr_ud_model_name_kv@GOTPCREL(%rip), %rsi
	movq	%r15, %rdi
	callq	_device_create_file
	testq	%rax, %rax
	jne	LBB0_4
LBB0_19:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_fw_ud_attrs,8,3                ## @fw_ud_attrs
	.comm	_UNIT_DIRECTORY_SPECIFIER_ID,4,2 ## @UNIT_DIRECTORY_SPECIFIER_ID
	.comm	_dev_attr_ud_specifier_id,4,2   ## @dev_attr_ud_specifier_id
	.comm	_UNIT_DIRECTORY_VERSION,4,2     ## @UNIT_DIRECTORY_VERSION
	.comm	_dev_attr_ud_version,4,2        ## @dev_attr_ud_version
	.comm	_UNIT_DIRECTORY_VENDOR_ID,4,2   ## @UNIT_DIRECTORY_VENDOR_ID
	.comm	_dev_attr_ud_vendor_id,4,2      ## @dev_attr_ud_vendor_id
	.comm	_dev_attr_ud_vendor_name_kv,4,2 ## @dev_attr_ud_vendor_name_kv
	.comm	_UNIT_DIRECTORY_MODEL_ID,4,2    ## @UNIT_DIRECTORY_MODEL_ID
	.comm	_dev_attr_ud_model_id,4,2       ## @dev_attr_ud_model_id
	.comm	_dev_attr_ud_model_name_kv,4,2  ## @dev_attr_ud_model_name_kv
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to add sysfs attribute"

	.no_dead_strip	_nodemgr_create_ud_dev_files
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nodemgr_create_ud_dev_files
_nodemgr_create_ud_dev_files:           ; @nodemgr_create_ud_dev_files
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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, x0
	add	x19, x0, #24
Lloh0:
	adrp	x21, _fw_ud_attrs@GOTPAGE
Lloh1:
	ldr	x21, [x21, _fw_ud_attrs@GOTPAGEOFF]
	ldr	x0, [x21]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_4
; %bb.1:
	mov	x22, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21]
	ldr	x1, [x8, x22, lsl #3]
	mov	x0, x19
	bl	_device_create_file
	cbnz	x0, LBB0_16
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x22, x22, #1
	ldr	x0, [x21]
	bl	_ARRAY_SIZE
	cmp	x22, w0, sxtw
	b.lt	LBB0_2
LBB0_4:
	ldr	w8, [x20]
Lloh2:
	adrp	x9, _UNIT_DIRECTORY_SPECIFIER_ID@GOTPAGE
Lloh3:
	ldr	x9, [x9, _UNIT_DIRECTORY_SPECIFIER_ID@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_7
; %bb.5:
Lloh5:
	adrp	x1, _dev_attr_ud_specifier_id@GOTPAGE
Lloh6:
	ldr	x1, [x1, _dev_attr_ud_specifier_id@GOTPAGEOFF]
	mov	x0, x19
	bl	_device_create_file
	cbnz	x0, LBB0_16
; %bb.6:
	ldr	w8, [x20]
LBB0_7:
Lloh7:
	adrp	x9, _UNIT_DIRECTORY_VERSION@GOTPAGE
Lloh8:
	ldr	x9, [x9, _UNIT_DIRECTORY_VERSION@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_10
; %bb.8:
Lloh10:
	adrp	x1, _dev_attr_ud_version@GOTPAGE
Lloh11:
	ldr	x1, [x1, _dev_attr_ud_version@GOTPAGEOFF]
	mov	x0, x19
	bl	_device_create_file
	cbnz	x0, LBB0_16
; %bb.9:
	ldr	w8, [x20]
LBB0_10:
Lloh12:
	adrp	x9, _UNIT_DIRECTORY_VENDOR_ID@GOTPAGE
Lloh13:
	ldr	x9, [x9, _UNIT_DIRECTORY_VENDOR_ID@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_14
; %bb.11:
Lloh15:
	adrp	x1, _dev_attr_ud_vendor_id@GOTPAGE
Lloh16:
	ldr	x1, [x1, _dev_attr_ud_vendor_id@GOTPAGEOFF]
	mov	x0, x19
	bl	_device_create_file
	cbnz	x0, LBB0_16
; %bb.12:
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_14
; %bb.13:
Lloh17:
	adrp	x1, _dev_attr_ud_vendor_name_kv@GOTPAGE
Lloh18:
	ldr	x1, [x1, _dev_attr_ud_vendor_name_kv@GOTPAGEOFF]
	mov	x0, x19
	bl	_device_create_file
	cbnz	x0, LBB0_16
LBB0_14:
	ldr	w8, [x20]
Lloh19:
	adrp	x9, _UNIT_DIRECTORY_MODEL_ID@GOTPAGE
Lloh20:
	ldr	x9, [x9, _UNIT_DIRECTORY_MODEL_ID@GOTPAGEOFF]
Lloh21:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_19
; %bb.15:
Lloh22:
	adrp	x1, _dev_attr_ud_model_id@GOTPAGE
Lloh23:
	ldr	x1, [x1, _dev_attr_ud_model_id@GOTPAGEOFF]
	mov	x0, x19
	bl	_device_create_file
	cbz	x0, LBB0_17
LBB0_16:
Lloh24:
	adrp	x0, l_.str@PAGE
Lloh25:
	add	x0, x0, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_HPSB_ERR
LBB0_17:
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_19
; %bb.18:
Lloh26:
	adrp	x1, _dev_attr_ud_model_name_kv@GOTPAGE
Lloh27:
	ldr	x1, [x1, _dev_attr_ud_model_name_kv@GOTPAGEOFF]
	mov	x0, x19
	bl	_device_create_file
	cbnz	x0, LBB0_16
LBB0_19:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_fw_ud_attrs,8,3                ; @fw_ud_attrs
	.comm	_UNIT_DIRECTORY_SPECIFIER_ID,4,2 ; @UNIT_DIRECTORY_SPECIFIER_ID
	.comm	_dev_attr_ud_specifier_id,4,2   ; @dev_attr_ud_specifier_id
	.comm	_UNIT_DIRECTORY_VERSION,4,2     ; @UNIT_DIRECTORY_VERSION
	.comm	_dev_attr_ud_version,4,2        ; @dev_attr_ud_version
	.comm	_UNIT_DIRECTORY_VENDOR_ID,4,2   ; @UNIT_DIRECTORY_VENDOR_ID
	.comm	_dev_attr_ud_vendor_id,4,2      ; @dev_attr_ud_vendor_id
	.comm	_dev_attr_ud_vendor_name_kv,4,2 ; @dev_attr_ud_vendor_name_kv
	.comm	_UNIT_DIRECTORY_MODEL_ID,4,2    ; @UNIT_DIRECTORY_MODEL_ID
	.comm	_dev_attr_ud_model_id,4,2       ; @dev_attr_ud_model_id
	.comm	_dev_attr_ud_model_name_kv,4,2  ; @dev_attr_ud_model_name_kv
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to add sysfs attribute"

	.no_dead_strip	_nodemgr_create_ud_dev_files
.subsections_via_symbols
