	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function aem_register_sensors
_aem_register_sensors:                  ## @aem_register_sensors
	.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	%rdx, %r12
	movq	(%rdi), %rbx
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	8(%rdi), %r15
	cmpq	$0, 8(%rsi)
	je	LBB0_6
## %bb.1:
	movq	%rsi, %r13
	addq	$8, %r13
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_sysfs_attr_init
	movq	(%r13), %rax
	movq	%rax, 8(%rbx)
	movl	$292, (%rbx)                    ## imm = 0x124
	movl	-4(%r13), %eax
	movl	%eax, 20(%rbx)
	movl	-8(%r13), %eax
	movl	%eax, 24(%rbx)
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_device_create_file
	testl	%eax, %eax
	jne	LBB0_3
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	addq	$32, %rbx
	cmpq	$0, 16(%r13)
	leaq	16(%r13), %r13
	jne	LBB0_2
LBB0_6:
	cmpq	$0, 16(%r12)
	je	LBB0_10
## %bb.7:
	addq	$16, %r12
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_sysfs_attr_init
	movq	(%r12), %rax
	movq	%rax, 8(%rbx)
	movl	$420, (%rbx)                    ## imm = 0x1A4
	movl	-8(%r12), %eax
	movl	%eax, 20(%rbx)
	movl	-12(%r12), %eax
	movl	%eax, 16(%rbx)
	movl	-16(%r12), %eax
	movl	%eax, 24(%rbx)
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_device_create_file
	testl	%eax, %eax
	jne	LBB0_3
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	addq	$32, %rbx
	cmpq	$0, 24(%r12)
	leaq	24(%r12), %r12
	jne	LBB0_8
LBB0_10:
	movq	_sensor_dev_attr_name@GOTPCREL(%rip), %rsi
	movq	%r15, %rdi
	callq	_device_create_file
	movl	%eax, %r14d
	testl	%eax, %eax
	jne	LBB0_4
## %bb.11:
	movq	_sensor_dev_attr_version@GOTPCREL(%rip), %rsi
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_device_create_file             ## TAILCALL
LBB0_3:
	movl	%eax, %r14d
	movq	$0, 8(%rbx)
LBB0_4:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_aem_remove_sensors
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_sensor_dev_attr_name,24,3      ## @sensor_dev_attr_name
	.comm	_sensor_dev_attr_version,24,3   ## @sensor_dev_attr_version
	.no_dead_strip	_aem_register_sensors
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function aem_register_sensors
_aem_register_sensors:                  ; @aem_register_sensors
	.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
	mov	x22, x2
	mov	x19, x0
	ldp	x21, x20, [x0]
	ldr	x8, [x1, #8]
	cbz	x8, LBB0_4
; %bb.1:
	add	x24, x1, #8
	mov	w25, #292
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_sysfs_attr_init
	ldr	x8, [x24]
	str	x8, [x21, #8]
	str	w25, [x21]
	ldur	d0, [x24, #-8]
	rev64.2s	v0, v0
	stur	d0, [x21, #20]
	mov	x0, x20
	mov	x1, x21
	bl	_device_create_file
	cbnz	w0, LBB0_10
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x21, x21, #32
	ldr	x8, [x24, #16]!
	cbnz	x8, LBB0_2
LBB0_4:
	ldr	x8, [x22, #16]
	cbz	x8, LBB0_8
; %bb.5:
	add	x22, x22, #16
	mov	w24, #420
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_sysfs_attr_init
	ldr	x8, [x22]
	str	x8, [x21, #8]
	str	w24, [x21]
	ldur	d0, [x22, #-12]
	str	d0, [x21, #16]
	ldur	w8, [x22, #-16]
	str	w8, [x21, #24]
	mov	x0, x20
	mov	x1, x21
	bl	_device_create_file
	cbnz	w0, LBB0_10
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x22, #24]!
	add	x21, x21, #32
	cbnz	x8, LBB0_6
LBB0_8:
Lloh0:
	adrp	x1, _sensor_dev_attr_name@GOTPAGE
Lloh1:
	ldr	x1, [x1, _sensor_dev_attr_name@GOTPAGEOFF]
	mov	x0, x20
	bl	_device_create_file
	mov	x23, x0
	cbnz	w0, LBB0_11
; %bb.9:
Lloh2:
	adrp	x1, _sensor_dev_attr_version@GOTPAGE
Lloh3:
	ldr	x1, [x1, _sensor_dev_attr_version@GOTPAGEOFF]
	mov	x0, x20
	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
	b	_device_create_file
LBB0_10:
	mov	x23, x0
	str	xzr, [x21, #8]
LBB0_11:
	mov	x0, x19
	bl	_aem_remove_sensors
	mov	x0, x23
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_sensor_dev_attr_name,24,3      ; @sensor_dev_attr_name
	.comm	_sensor_dev_attr_version,24,3   ; @sensor_dev_attr_version
	.no_dead_strip	_aem_register_sensors
.subsections_via_symbols
