	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ibm_cffps_create_led_class
_ibm_cffps_create_led_class:            ## @ibm_cffps_create_led_class
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	24(%rdi), %rax
	leaq	12(%rax), %r14
	movl	16(%rdi), %edi
	movq	(%rax), %rcx
	movl	8(%rax), %r8d
	leaq	L_.str(%rip), %rdx
	movl	$4, %esi
	callq	_snprintf
	movl	16(%rbx), %eax
	movl	%eax, 12(%rbx)
	movq	_LED_FULL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	movq	_ibm_cffps_led_brightness_set@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rbx)
	movq	_ibm_cffps_led_blink_set@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_devm_led_classdev_register
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_dev_warn                       ## TAILCALL
LBB0_1:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s-%02x"

	.comm	_LED_FULL,4,2                   ## @LED_FULL
	.comm	_ibm_cffps_led_brightness_set,4,2 ## @ibm_cffps_led_brightness_set
	.comm	_ibm_cffps_led_blink_set,4,2    ## @ibm_cffps_led_blink_set
L_.str.1:                               ## @.str.1
	.asciz	"failed to register led class: %d\n"

	.no_dead_strip	_ibm_cffps_create_led_class
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ibm_cffps_create_led_class
_ibm_cffps_create_led_class:            ; @ibm_cffps_create_led_class
	.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
	mov	x20, x0
	ldr	x8, [x0, #24]
	add	x19, x8, #12
	ldr	w0, [x0, #16]
	ldr	x3, [x8]
	ldr	w4, [x8, #8]
Lloh0:
	adrp	x2, l_.str@PAGE
Lloh1:
	add	x2, x2, l_.str@PAGEOFF
	mov	w1, #4
	bl	_snprintf
Lloh2:
	adrp	x8, _LED_FULL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _LED_FULL@GOTPAGEOFF]
	ldr	w9, [x20, #16]
Lloh4:
	ldr	w8, [x8]
	stp	w8, w9, [x20, #8]
Lloh5:
	adrp	x8, _ibm_cffps_led_brightness_set@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ibm_cffps_led_brightness_set@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	adrp	x9, _ibm_cffps_led_blink_set@GOTPAGE
Lloh9:
	ldr	x9, [x9, _ibm_cffps_led_blink_set@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	stp	w9, w8, [x20]
	mov	x0, x19
	mov	x1, x20
	bl	_devm_led_classdev_register
	cbz	w0, LBB0_2
; %bb.1:
	mov	x2, x0
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_dev_warn
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s-%02x"

	.comm	_LED_FULL,4,2                   ; @LED_FULL
	.comm	_ibm_cffps_led_brightness_set,4,2 ; @ibm_cffps_led_brightness_set
	.comm	_ibm_cffps_led_blink_set,4,2    ; @ibm_cffps_led_blink_set
l_.str.1:                               ; @.str.1
	.asciz	"failed to register led class: %d\n"

	.no_dead_strip	_ibm_cffps_create_led_class
.subsections_via_symbols
