	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rk805_pinctrl_probe
_rk805_pinctrl_probe:                   ## @rk805_pinctrl_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$120, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	%r14, 112(%rax)
	movq	(%r14), %rdi
	movl	(%rdi), %eax
	movl	%eax, 8(%r14)
	callq	_dev_get_drvdata
	movq	%rax, 48(%rbx)
	movq	_rk805_pinctrl_desc@GOTPCREL(%rip), %rax
	movups	(%rax), %xmm0
	movups	%xmm0, 32(%rbx)
	movq	_rk805_gpio_chip@GOTPCREL(%rip), %rax
	movups	(%rax), %xmm0
	movups	%xmm0, (%rbx)
	movq	%r14, 16(%rbx)
	movq	(%r14), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_platform_set_drvdata
	movq	48(%rbx), %rax
	movl	(%rax), %edx
	cmpl	$128, %edx
	jne	LBB0_9
## %bb.3:
	movq	_rk805_pins_desc@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	movq	%rdi, 104(%rbx)
	callq	_ARRAY_SIZE
	movq	%rax, 96(%rbx)
	movq	_rk805_pin_functions@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	%rdi, 88(%rbx)
	callq	_ARRAY_SIZE
	movq	%rax, 80(%rbx)
	movq	_rk805_pin_groups@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	%rdi, 72(%rbx)
	callq	_ARRAY_SIZE
	movq	%rax, 64(%rbx)
	movq	(%r15), %rdi
	movq	%rdi, 40(%rbx)
	callq	_ARRAY_SIZE
	movq	%rax, 32(%rbx)
	movq	_rk805_gpio_cfgs@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	%rdi, 56(%rbx)
	callq	_ARRAY_SIZE
	movq	%rax, (%rbx)
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%rbx, %rdx
	callq	_devm_gpiochip_add_data
	testl	%eax, %eax
	js	LBB0_4
## %bb.5:
	movq	%rbx, %rsi
	addq	$32, %rsi
	movq	%r14, %rdi
	movq	%rbx, %rdx
	callq	_devm_pinctrl_register
	movl	%eax, 24(%rbx)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_6
## %bb.10:
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	movl	24(%rbx), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
	jmp	LBB0_8
LBB0_9:
	leaq	L_.str(%rip), %rsi
	xorl	%r15d, %r15d
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subl	(%rax), %r15d
	jmp	LBB0_8
LBB0_4:
	movl	%eax, %r15d
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_8
LBB0_6:
	movq	%r14, %rdi
	callq	_dev_name
	movq	(%rbx), %r8
	xorl	%r15d, %r15d
	movq	%rbx, %rdi
	movl	%eax, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_gpiochip_add_pin_range
	testl	%eax, %eax
	jns	LBB0_8
## %bb.7:
	movl	%eax, %ebx
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	movl	%ebx, %r15d
LBB0_8:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_rk805_pinctrl_desc,16,3        ## @rk805_pinctrl_desc
	.comm	_rk805_gpio_chip,24,3           ## @rk805_gpio_chip
	.comm	_rk805_pins_desc,8,3            ## @rk805_pins_desc
	.comm	_rk805_pin_functions,8,3        ## @rk805_pin_functions
	.comm	_rk805_pin_groups,8,3           ## @rk805_pin_groups
	.comm	_rk805_gpio_cfgs,8,3            ## @rk805_gpio_cfgs
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unsupported RK805 ID %lu\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.1:                               ## @.str.1
	.asciz	"Couldn't add gpiochip\n"

L_.str.2:                               ## @.str.2
	.asciz	"Couldn't add pinctrl\n"

L_.str.3:                               ## @.str.3
	.asciz	"Couldn't add gpiochip pin range\n"

	.no_dead_strip	_rk805_pinctrl_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rk805_pinctrl_probe
_rk805_pinctrl_probe:                   ; @rk805_pinctrl_probe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	w1, #120
	bl	_devm_kzalloc
	cbz	x0, LBB0_5
; %bb.1:
	mov	x20, x0
	str	x19, [x0, #112]
	ldr	x0, [x19]
	ldr	w8, [x0]
	str	w8, [x19, #8]
	bl	_dev_get_drvdata
	str	x0, [x20, #48]
Lloh3:
	adrp	x8, _rk805_pinctrl_desc@GOTPAGE
Lloh4:
	ldr	x8, [x8, _rk805_pinctrl_desc@GOTPAGEOFF]
Lloh5:
	ldr	q0, [x8]
	str	q0, [x20, #32]
Lloh6:
	adrp	x8, _rk805_gpio_chip@GOTPAGE
Lloh7:
	ldr	x8, [x8, _rk805_gpio_chip@GOTPAGEOFF]
Lloh8:
	ldr	q0, [x8]
	str	q0, [x20]
	str	x19, [x20, #16]
	ldr	x8, [x19]
	ldr	w8, [x8]
	str	w8, [x20, #8]
	mov	x0, x19
	mov	x1, x20
	bl	_platform_set_drvdata
	ldr	x8, [x20, #48]
	ldr	w8, [x8]
	cmp	w8, #128
	b.ne	LBB0_6
; %bb.2:
Lloh9:
	adrp	x21, _rk805_pins_desc@GOTPAGE
Lloh10:
	ldr	x21, [x21, _rk805_pins_desc@GOTPAGEOFF]
	ldr	x0, [x21]
	str	x0, [x20, #104]
	bl	_ARRAY_SIZE
Lloh11:
	adrp	x8, _rk805_pin_functions@GOTPAGE
Lloh12:
	ldr	x8, [x8, _rk805_pin_functions@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	stp	x8, x0, [x20, #88]
	mov	x0, x8
	bl	_ARRAY_SIZE
Lloh14:
	adrp	x8, _rk805_pin_groups@GOTPAGE
Lloh15:
	ldr	x8, [x8, _rk805_pin_groups@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	stp	x8, x0, [x20, #72]
	mov	x0, x8
	bl	_ARRAY_SIZE
	str	x0, [x20, #64]
	ldr	x0, [x21]
	str	x0, [x20, #40]
	bl	_ARRAY_SIZE
	str	x0, [x20, #32]
Lloh17:
	adrp	x8, _rk805_gpio_cfgs@GOTPAGE
Lloh18:
	ldr	x8, [x8, _rk805_gpio_cfgs@GOTPAGEOFF]
Lloh19:
	ldr	x0, [x8]
	str	x0, [x20, #56]
	bl	_ARRAY_SIZE
	str	x0, [x20]
	mov	x0, x19
	mov	x1, x20
	mov	x2, x20
	bl	_devm_gpiochip_add_data
	tbnz	w0, #31, LBB0_9
; %bb.3:
	add	x1, x20, #32
	mov	x0, x19
	mov	x2, x20
	bl	_devm_pinctrl_register
	str	w0, [x20, #24]
	bl	_IS_ERR
	cbz	x0, LBB0_10
; %bb.4:
Lloh20:
	adrp	x1, l_.str.2@PAGE
Lloh21:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	ldr	w0, [x20, #24]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_PTR_ERR
LBB0_5:
Lloh22:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh23:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
	str	x8, [sp]
Lloh24:
	adrp	x1, l_.str@PAGE
Lloh25:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_err
Lloh26:
	adrp	x8, _EINVAL@GOTPAGE
Lloh27:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_7:
	ldr	w8, [x8]
	neg	w21, w8
LBB0_8:
	mov	x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_9:
	mov	x21, x0
Lloh28:
	adrp	x1, l_.str.1@PAGE
Lloh29:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	b	LBB0_8
LBB0_10:
	mov	x0, x19
	bl	_dev_name
	mov	x1, x0
	ldr	x4, [x20]
	mov	x0, x20
	mov	w2, #0
	mov	w3, #0
	bl	_gpiochip_add_pin_range
	mov	w21, #0
	tbz	w0, #31, LBB0_8
; %bb.11:
	mov	x20, x0
Lloh30:
	adrp	x1, l_.str.3@PAGE
Lloh31:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	mov	x21, x20
	b	LBB0_8
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_rk805_pinctrl_desc,16,3        ; @rk805_pinctrl_desc
	.comm	_rk805_gpio_chip,24,3           ; @rk805_gpio_chip
	.comm	_rk805_pins_desc,8,3            ; @rk805_pins_desc
	.comm	_rk805_pin_functions,8,3        ; @rk805_pin_functions
	.comm	_rk805_pin_groups,8,3           ; @rk805_pin_groups
	.comm	_rk805_gpio_cfgs,8,3            ; @rk805_gpio_cfgs
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unsupported RK805 ID %lu\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.1:                               ; @.str.1
	.asciz	"Couldn't add gpiochip\n"

l_.str.2:                               ; @.str.2
	.asciz	"Couldn't add pinctrl\n"

l_.str.3:                               ; @.str.3
	.asciz	"Couldn't add gpiochip pin range\n"

	.no_dead_strip	_rk805_pinctrl_probe
.subsections_via_symbols
