	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function s3c_hwmon_create_attr
_s3c_hwmon_create_attr:                 ## @s3c_hwmon_create_attr
	.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
	movl	%ecx, %r12d
	movq	%rdx, %rbx
	movq	%rsi, %r15
	movq	%rdi, %r14
	movl	88(%rdx), %edi
	leaq	L_.str(%rip), %rdx
	movl	$4, %esi
	callq	_snprintf
	movl	%r12d, (%rbx)
	movl	88(%rbx), %eax
	leaq	8(%rbx), %rsi
	movl	%eax, 32(%rbx)
	movq	_S_IRUGO@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 24(%rbx)
	movq	_THIS_MODULE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 16(%rbx)
	movq	_s3c_hwmon_ch_show@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	movq	%r14, %rdi
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	callq	_device_create_file
	movl	%eax, %r13d
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	cmpq	$0, (%r15)
	je	LBB0_6
## %bb.3:
	movl	40(%rbx), %edi
	leaq	L_.str.2(%rip), %rdx
	movl	$4, %esi
	movl	%r12d, %ecx
	callq	_snprintf
	movl	%r12d, 48(%rbx)
	movl	40(%rbx), %eax
	leaq	56(%rbx), %rsi
	movl	%eax, 80(%rbx)
	movq	_S_IRUGO@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 72(%rbx)
	movq	_THIS_MODULE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 64(%rbx)
	movq	_s3c_hwmon_label_show@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 56(%rbx)
	movq	%r14, %rdi
	callq	_device_create_file
	movl	%eax, %r13d
	testl	%eax, %eax
	jns	LBB0_6
## %bb.4:
	movq	%r14, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_device_remove_file
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_5
LBB0_1:
	leaq	L_.str.1(%rip), %rsi
LBB0_5:
	movq	%r14, %rdi
	callq	_dev_err
LBB0_6:
	movl	%r13d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"in%d_input"

	.comm	_S_IRUGO,8,3                    ## @S_IRUGO
	.comm	_THIS_MODULE,8,3                ## @THIS_MODULE
	.comm	_s3c_hwmon_ch_show,4,2          ## @s3c_hwmon_ch_show
L_.str.1:                               ## @.str.1
	.asciz	"failed to create input attribute\n"

L_.str.2:                               ## @.str.2
	.asciz	"in%d_label"

	.comm	_s3c_hwmon_label_show,4,2       ## @s3c_hwmon_label_show
L_.str.3:                               ## @.str.3
	.asciz	"failed to create label attribute\n"

	.no_dead_strip	_s3c_hwmon_create_attr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function s3c_hwmon_create_attr
_s3c_hwmon_create_attr:                 ; @s3c_hwmon_create_attr
	.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, x3
	mov	x21, x2
	mov	x24, x1
	mov	x19, x0
	ldr	w0, [x2, #88]
Lloh0:
	adrp	x2, l_.str@PAGE
Lloh1:
	add	x2, x2, l_.str@PAGEOFF
	mov	w1, #4
	bl	_snprintf
	str	w22, [x21]
	ldr	w8, [x21, #88]
Lloh2:
	adrp	x9, _s3c_hwmon_ch_show@GOTPAGE
Lloh3:
	ldr	x9, [x9, _s3c_hwmon_ch_show@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	mov	x20, x21
	str	w9, [x20, #8]!
	str	w8, [x20, #24]
Lloh5:
	adrp	x25, _S_IRUGO@GOTPAGE
Lloh6:
	ldr	x25, [x25, _S_IRUGO@GOTPAGEOFF]
	ldr	x8, [x25]
Lloh7:
	adrp	x26, _THIS_MODULE@GOTPAGE
Lloh8:
	ldr	x26, [x26, _THIS_MODULE@GOTPAGEOFF]
	ldr	x9, [x26]
	stp	x9, x8, [x20, #8]
	mov	x0, x19
	mov	x1, x20
	bl	_device_create_file
	mov	x23, x0
	tbnz	w0, #31, LBB0_4
; %bb.1:
	ldr	x8, [x24]
	cbz	x8, LBB0_6
; %bb.2:
	ldr	w0, [x21, #40]
Lloh9:
	adrp	x2, l_.str.2@PAGE
Lloh10:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	w1, #4
	mov	x3, x22
	bl	_snprintf
Lloh11:
	adrp	x8, _s3c_hwmon_label_show@GOTPAGE
Lloh12:
	ldr	x8, [x8, _s3c_hwmon_label_show@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	mov	x1, x21
	str	w8, [x1, #56]!
	stur	w22, [x1, #-8]
	ldr	w8, [x21, #40]
	str	w8, [x1, #24]
	ldr	x8, [x25]
	ldr	x9, [x26]
	stp	x9, x8, [x1, #8]
	mov	x0, x19
	bl	_device_create_file
	mov	x23, x0
	tbz	w0, #31, LBB0_6
; %bb.3:
	mov	x0, x19
	mov	x1, x20
	bl	_device_remove_file
Lloh14:
	adrp	x1, l_.str.3@PAGE
Lloh15:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_5
LBB0_4:
Lloh16:
	adrp	x1, l_.str.1@PAGE
Lloh17:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_5:
	mov	x0, x19
	bl	_dev_err
LBB0_6:
	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	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"in%d_input"

	.comm	_S_IRUGO,8,3                    ; @S_IRUGO
	.comm	_THIS_MODULE,8,3                ; @THIS_MODULE
	.comm	_s3c_hwmon_ch_show,4,2          ; @s3c_hwmon_ch_show
l_.str.1:                               ; @.str.1
	.asciz	"failed to create input attribute\n"

l_.str.2:                               ; @.str.2
	.asciz	"in%d_label"

	.comm	_s3c_hwmon_label_show,4,2       ; @s3c_hwmon_label_show
l_.str.3:                               ; @.str.3
	.asciz	"failed to create label attribute\n"

	.no_dead_strip	_s3c_hwmon_create_attr
.subsections_via_symbols
