	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hfi1_verbs_register_sysfs      ## -- Begin function hfi1_verbs_register_sysfs
	.p2align	4, 0x90
_hfi1_verbs_register_sysfs:             ## @hfi1_verbs_register_sysfs
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpl	$0, (%rdi)
	jle	LBB0_11
## %bb.1:
	movq	%rdi, %r13
	leaq	16(%rdi), %r15
	xorl	%r8d, %r8d
	movq	_sde_ktype@GOTPCREL(%rip), %rsi
	leaq	L_.str(%rip), %rcx
	movq	_sde_attribs@GOTPCREL(%rip), %rbx
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	incq	%r8
	movslq	(%r13), %rax
	cmpq	%rax, %r8
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	movq	_sde_ktype@GOTPCREL(%rip), %rsi
	leaq	L_.str(%rip), %rcx
	jge	LBB0_11
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_9 Depth 2
	leaq	(,%r8,4), %r14
	movq	8(%r13), %rdi
	addq	%r14, %rdi
	movq	%r15, %rdx
	movq	%r8, -56(%rbp)                  ## 8-byte Spill
                                        ## kill: def $r8d killed $r8d killed $r8
	callq	_kobject_init_and_add
	testl	%eax, %eax
	jne	LBB0_3
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rbx), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_9:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	8(%r13), %rdi
	addq	%r14, %rdi
	movq	(%rbx), %rax
	movq	(%rax,%r15,8), %rsi
	callq	_sysfs_create_file
	testl	%eax, %eax
	jne	LBB0_3
## %bb.8:                               ##   in Loop: Header=BB0_9 Depth=2
	incq	%r15
	movq	(%rbx), %rdi
	callq	_ARRAY_SIZE
	cltq
	cmpq	%rax, %r15
	jl	LBB0_9
	jmp	LBB0_10
LBB0_3:
	movl	%eax, %r12d
	cmpl	$0, (%r13)
	jle	LBB0_12
## %bb.4:
	xorl	%r14d, %r14d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r13), %rdi
	addq	%r14, %rdi
	callq	_kobject_del
	incq	%rbx
	movslq	(%r13), %rax
	addq	$4, %r14
	cmpq	%rax, %rbx
	jl	LBB0_5
	jmp	LBB0_12
LBB0_11:
	xorl	%r12d, %r12d
LBB0_12:
	movl	%r12d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_sde_ktype,4,2                  ## @sde_ktype
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"sdma%d"

	.comm	_sde_attribs,8,3                ## @sde_attribs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hfi1_verbs_register_sysfs      ; -- Begin function hfi1_verbs_register_sysfs
	.p2align	2
_hfi1_verbs_register_sysfs:             ; @hfi1_verbs_register_sysfs
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_11
; %bb.1:
	mov	x19, x0
	mov	x20, #0
	add	x21, x0, #16
Lloh0:
	adrp	x22, _sde_ktype@GOTPAGE
Lloh1:
	ldr	x22, [x22, _sde_ktype@GOTPAGEOFF]
Lloh2:
	adrp	x25, _sde_attribs@GOTPAGE
Lloh3:
	ldr	x25, [x25, _sde_attribs@GOTPAGEOFF]
Lloh4:
	adrp	x23, l_.str@PAGE
Lloh5:
	add	x23, x23, l_.str@PAGEOFF
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x20, x20, #1
	ldrsw	x8, [x19]
	cmp	x20, x8
	b.ge	LBB0_11
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
	ldr	x8, [x19, #8]
	add	x0, x8, x20, lsl #2
	mov	x1, x22
	mov	x2, x21
	mov	x3, x23
	mov	x4, x20
	bl	_kobject_init_and_add
	cbnz	w0, LBB0_8
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [x25]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x26, #0
LBB0_6:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x19, #8]
	add	x0, x8, x20, lsl #2
	ldr	x8, [x25]
	ldr	x1, [x8, x26, lsl #3]
	bl	_sysfs_create_file
	cbnz	w0, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=2
	add	x26, x26, #1
	ldr	x0, [x25]
	bl	_ARRAY_SIZE
	cmp	x26, w0, sxtw
	b.lt	LBB0_6
	b	LBB0_2
LBB0_8:
	mov	x24, x0
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_12
; %bb.9:
	mov	x20, #0
	mov	x21, #0
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	add	x0, x8, x20
	bl	_kobject_del
	add	x21, x21, #1
	ldrsw	x8, [x19]
	add	x20, x20, #4
	cmp	x21, x8
	b.lt	LBB0_10
	b	LBB0_12
LBB0_11:
	mov	w24, #0
LBB0_12:
	mov	x0, x24
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_sde_ktype,4,2                  ; @sde_ktype
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"sdma%d"

	.comm	_sde_attribs,8,3                ; @sde_attribs
.subsections_via_symbols
