	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gpio_led_probe
_gpio_led_probe:                        ## @gpio_led_probe
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	callq	_dev_get_platdata
	testq	%rax, %rax
	je	LBB0_12
## %bb.1:
	movq	%rax, %r12
	movl	(%rax), %edi
	testl	%edi, %edi
	je	LBB0_12
## %bb.2:
	callq	_sizeof_gpio_leds_priv
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%rax, %rsi
	movl	(%r12), %eax
	movl	%eax, (%rsi)
	testl	%eax, %eax
	jle	LBB0_14
## %bb.5:
	xorl	%r15d, %r15d
	xorl	%r13d, %r13d
	xorl	%ebx, %ebx
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_6 Depth=1
	movl	(%r12,%r15), %ecx
	movl	4(%r12,%r15), %edx
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	leaq	L_.str(%rip), %rsi
	callq	_dev_info
	movq	-56(%rbp), %r12                 ## 8-byte Reload
LBB0_11:                                ##   in Loop: Header=BB0_6 Depth=1
	incq	%rbx
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movslq	(%rsi), %rax
	addq	$8, %r13
	addq	$16, %r15
	cmpq	%rax, %rbx
	jge	LBB0_14
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r12), %r12
	leaq	(%r12,%r15), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	8(%rsi), %r14
	movq	8(%r12,%r15), %rdi
	testq	%rdi, %rdi
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%ebx, %esi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	callq	_gpio_led_get_gpiod
	movq	%rax, %rdi
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=1
	movq	%rdi, (%r14,%rbx,8)
	callq	_IS_ERR
	testq	%rax, %rax
	jne	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_6 Depth=1
	addq	%r13, %r14
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movl	4(%r12), %r8d
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdx
	xorl	%ecx, %ecx
	callq	_create_gpio_led
	testl	%eax, %eax
	jns	LBB0_11
	jmp	LBB0_15
LBB0_12:
	movq	%r14, %rdi
	callq	_gpio_leds_create
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_13
## %bb.16:
	movq	%rbx, %rdi
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_13:
	movq	%rbx, %rsi
LBB0_14:
	movq	%r14, %rdi
	callq	_platform_set_drvdata
	xorl	%eax, %eax
	jmp	LBB0_15
LBB0_3:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_15:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Skipping unavailable LED gpio %d (%s)\n"

	.no_dead_strip	_gpio_led_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gpio_led_probe
_gpio_led_probe:                        ; @gpio_led_probe
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
	bl	_dev_get_platdata
	cbz	x0, LBB0_11
; %bb.1:
	mov	x20, x0
	ldr	w0, [x0]
	cbz	w0, LBB0_11
; %bb.2:
	bl	_sizeof_gpio_leds_priv
	mov	x1, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_devm_kzalloc
	cbz	x0, LBB0_14
; %bb.3:
	mov	x21, x0
	ldr	w8, [x20]
	str	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_13
; %bb.4:
	mov	x25, #0
	mov	x26, #0
	mov	x22, #0
Lloh3:
	adrp	x23, l_.str@PAGE
Lloh4:
	add	x23, x23, l_.str@PAGEOFF
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	x8, x27, x25
	ldp	w3, w2, [x8]
	mov	x0, x19
	mov	x1, x23
	bl	_dev_info
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	x22, x22, #1
	ldrsw	x8, [x21]
	add	x26, x26, #8
	add	x25, x25, #16
	cmp	x22, x8
	b.ge	LBB0_13
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x27, [x20, #8]
	add	x24, x27, x25
	ldr	x28, [x21, #8]
	ldr	x0, [x24, #8]
	cbnz	x0, LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x19
	mov	x1, x22
	mov	x2, x24
	bl	_gpio_led_get_gpiod
LBB0_9:                                 ;   in Loop: Header=BB0_7 Depth=1
	str	x0, [x28, x22, lsl #3]
	bl	_IS_ERR
	cbnz	x0, LBB0_5
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=1
	add	x1, x28, x26
	ldr	w4, [x20, #4]
	mov	x0, x24
	mov	x2, x19
	mov	x3, #0
	bl	_create_gpio_led
	tbz	w0, #31, LBB0_6
	b	LBB0_15
LBB0_11:
	mov	x0, x19
	bl	_gpio_leds_create
	mov	x21, x0
	bl	_IS_ERR
	cbz	x0, LBB0_13
; %bb.12:
	mov	x0, x21
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_PTR_ERR
LBB0_13:
	mov	x0, x19
	mov	x1, x21
	bl	_platform_set_drvdata
	mov	w0, #0
	b	LBB0_15
LBB0_14:
Lloh5:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_15:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Skipping unavailable LED gpio %d (%s)\n"

	.no_dead_strip	_gpio_led_probe
.subsections_via_symbols
