	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function as3722_pinctrl_probe
_as3722_pinctrl_probe:                  ## @as3722_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$88, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	%r14, 80(%rax)
	movq	(%r14), %rdi
	movl	(%rdi), %eax
	movl	%eax, 8(%r14)
	callq	_dev_get_drvdata
	movl	%eax, 72(%rbx)
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_platform_set_drvdata
	movq	_as3722_pins_desc@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	movq	%rdi, 64(%rbx)
	callq	_ARRAY_SIZE
	movq	%rax, 56(%rbx)
	movq	_as3722_pin_function@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	%rdi, 48(%rbx)
	callq	_ARRAY_SIZE
	movq	%rax, 40(%rbx)
	movq	_as3722_pingroups@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	%rdi, 32(%rbx)
	callq	_ARRAY_SIZE
	movq	%rax, 24(%rbx)
	movq	%r14, %rdi
	callq	_dev_name
	movq	_as3722_pinctrl_desc@GOTPCREL(%rip), %r15
	movl	%eax, 16(%r15)
	movq	(%r12), %rdi
	movq	%rdi, 8(%r15)
	callq	_ARRAY_SIZE
	movq	%rax, (%r15)
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	callq	_devm_pinctrl_register
	movl	%eax, 16(%rbx)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_3
## %bb.8:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	movl	16(%rbx), %edi
	popq	%rbx
	popq	%r12
	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_7
LBB0_3:
	movq	_as3722_gpio_chip@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rbx)
	movq	%r14, 8(%rbx)
	movq	(%r14), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	movq	%rbx, %rdi
	movq	%rbx, %rsi
	callq	_gpiochip_add_data
	testl	%eax, %eax
	js	LBB0_4
## %bb.5:
	movq	%r14, %rdi
	callq	_dev_name
	movq	_AS3722_PIN_NUM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	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_7
## %bb.6:
	movl	%eax, %r12d
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_dev_err
	movq	%rbx, %rdi
	callq	_gpiochip_remove
	movl	%r12d, %r15d
	jmp	LBB0_7
LBB0_4:
	movl	%eax, %r15d
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_dev_err
LBB0_7:
	movl	%r15d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_as3722_pins_desc,8,3           ## @as3722_pins_desc
	.comm	_as3722_pin_function,8,3        ## @as3722_pin_function
	.comm	_as3722_pingroups,8,3           ## @as3722_pingroups
	.comm	_as3722_pinctrl_desc,24,3       ## @as3722_pinctrl_desc
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Couldn't register pinctrl driver\n"

	.comm	_as3722_gpio_chip,16,3          ## @as3722_gpio_chip
L_.str.1:                               ## @.str.1
	.asciz	"Couldn't register gpiochip, %d\n"

	.comm	_AS3722_PIN_NUM,4,2             ## @AS3722_PIN_NUM
L_.str.2:                               ## @.str.2
	.asciz	"Couldn't add pin range, %d\n"

	.no_dead_strip	_as3722_pinctrl_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function as3722_pinctrl_probe
_as3722_pinctrl_probe:                  ; @as3722_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, #88
	bl	_devm_kzalloc
	cbz	x0, LBB0_3
; %bb.1:
	mov	x20, x0
	str	x19, [x0, #80]
	ldr	x0, [x19]
	ldr	w8, [x0]
	str	w8, [x19, #8]
	bl	_dev_get_drvdata
	str	w0, [x20, #72]
	mov	x0, x19
	mov	x1, x20
	bl	_platform_set_drvdata
Lloh3:
	adrp	x22, _as3722_pins_desc@GOTPAGE
Lloh4:
	ldr	x22, [x22, _as3722_pins_desc@GOTPAGEOFF]
	ldr	x0, [x22]
	str	x0, [x20, #64]
	bl	_ARRAY_SIZE
Lloh5:
	adrp	x8, _as3722_pin_function@GOTPAGE
Lloh6:
	ldr	x8, [x8, _as3722_pin_function@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	stp	x8, x0, [x20, #48]
	mov	x0, x8
	bl	_ARRAY_SIZE
Lloh8:
	adrp	x8, _as3722_pingroups@GOTPAGE
Lloh9:
	ldr	x8, [x8, _as3722_pingroups@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	stp	x8, x0, [x20, #32]
	mov	x0, x8
	bl	_ARRAY_SIZE
	str	x0, [x20, #24]
	mov	x0, x19
	bl	_dev_name
Lloh11:
	adrp	x21, _as3722_pinctrl_desc@GOTPAGE
Lloh12:
	ldr	x21, [x21, _as3722_pinctrl_desc@GOTPAGEOFF]
	str	w0, [x21, #16]
	ldr	x0, [x22]
	str	x0, [x21, #8]
	bl	_ARRAY_SIZE
	str	x0, [x21]
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	bl	_devm_pinctrl_register
	str	w0, [x20, #16]
	bl	_IS_ERR
	cbz	x0, LBB0_4
; %bb.2:
Lloh13:
	adrp	x1, l_.str@PAGE
Lloh14:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	ldr	w0, [x20, #16]
	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_3:
Lloh15:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_8
LBB0_4:
Lloh18:
	adrp	x8, _as3722_gpio_chip@GOTPAGE
Lloh19:
	ldr	x8, [x8, _as3722_gpio_chip@GOTPAGEOFF]
Lloh20:
	ldr	x8, [x8]
	stp	x8, x19, [x20]
	ldr	x8, [x19]
	ldr	w8, [x8]
	str	w8, [x20]
	mov	x0, x20
	mov	x1, x20
	bl	_gpiochip_add_data
	tbnz	w0, #31, LBB0_7
; %bb.5:
	mov	x0, x19
	bl	_dev_name
	mov	x1, x0
Lloh21:
	adrp	x8, _AS3722_PIN_NUM@GOTPAGE
Lloh22:
	ldr	x8, [x8, _AS3722_PIN_NUM@GOTPAGEOFF]
Lloh23:
	ldr	w4, [x8]
	mov	x0, x20
	mov	w2, #0
	mov	w3, #0
	bl	_gpiochip_add_pin_range
	mov	w21, #0
	tbz	w0, #31, LBB0_8
; %bb.6:
	mov	x22, x0
	str	x22, [sp]
Lloh24:
	adrp	x1, l_.str.2@PAGE
Lloh25:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	mov	x0, x20
	bl	_gpiochip_remove
	mov	x21, x22
	b	LBB0_8
LBB0_7:
	mov	x21, x0
	str	x21, [sp]
Lloh26:
	adrp	x1, l_.str.1@PAGE
Lloh27:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_dev_err
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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_as3722_pins_desc,8,3           ; @as3722_pins_desc
	.comm	_as3722_pin_function,8,3        ; @as3722_pin_function
	.comm	_as3722_pingroups,8,3           ; @as3722_pingroups
	.comm	_as3722_pinctrl_desc,24,3       ; @as3722_pinctrl_desc
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Couldn't register pinctrl driver\n"

	.comm	_as3722_gpio_chip,16,3          ; @as3722_gpio_chip
l_.str.1:                               ; @.str.1
	.asciz	"Couldn't register gpiochip, %d\n"

	.comm	_AS3722_PIN_NUM,4,2             ; @AS3722_PIN_NUM
l_.str.2:                               ; @.str.2
	.asciz	"Couldn't add pin range, %d\n"

	.no_dead_strip	_as3722_pinctrl_probe
.subsections_via_symbols
