	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sh_pfc_register_pinctrl        ## -- Begin function sh_pfc_register_pinctrl
	.p2align	4, 0x90
_sh_pfc_register_pinctrl:               ## @sh_pfc_register_pinctrl
	.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
	movl	(%rdi), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$64, %esi
	callq	_devm_kzalloc
	movq	%rax, %r15
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_6:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	%r14, 56(%r15)
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_sh_pfc_map_pins
	testl	%eax, %eax
	js	LBB0_3
## %bb.4:
	movq	_DRV_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%r15, %rsi
	addq	$8, %rsi
	movl	%eax, 44(%r15)
	movq	_THIS_MODULE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%r15)
	movq	_sh_pfc_pinctrl_ops@GOTPCREL(%rip), %rax
	movq	%rax, 32(%r15)
	movq	_sh_pfc_pinmux_ops@GOTPCREL(%rip), %rax
	movq	%rax, 24(%r15)
	movq	_sh_pfc_pinconf_ops@GOTPCREL(%rip), %rax
	movq	%rax, 16(%r15)
	movl	48(%r15), %eax
	movl	%eax, 12(%r15)
	movq	8(%r14), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r15)
	movl	(%r14), %edi
	movq	%r15, %rdx
	movq	%r15, %rcx
	callq	_devm_pinctrl_register_and_init
	testl	%eax, %eax
	je	LBB0_7
## %bb.5:
	movl	%eax, %ebx
	movl	(%r14), %edi
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edx
	callq	_dev_err
	jmp	LBB0_6
LBB0_3:
	movl	%eax, %ebx
	jmp	LBB0_6
LBB0_7:
	movl	(%r15), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pinctrl_enable                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_DRV_NAME,4,2                   ## @DRV_NAME
	.comm	_THIS_MODULE,4,2                ## @THIS_MODULE
	.comm	_sh_pfc_pinctrl_ops,4,2         ## @sh_pfc_pinctrl_ops
	.comm	_sh_pfc_pinmux_ops,4,2          ## @sh_pfc_pinmux_ops
	.comm	_sh_pfc_pinconf_ops,4,2         ## @sh_pfc_pinconf_ops
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"could not register: %i\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sh_pfc_register_pinctrl        ; -- Begin function sh_pfc_register_pinctrl
	.p2align	2
_sh_pfc_register_pinctrl:               ; @sh_pfc_register_pinctrl
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	ldr	w0, [x0]
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	w1, #64
	bl	_devm_kzalloc
	mov	x20, x0
	cmp	x0, #0
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_3
; %bb.1:
Lloh3:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w21, w8
LBB0_2:
	mov	x0, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_3:
	str	x19, [x20, #56]
	mov	x0, x19
	mov	x1, x20
	bl	_sh_pfc_map_pins
	tbnz	w0, #31, LBB0_6
; %bb.4:
Lloh6:
	adrp	x8, _DRV_NAME@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DRV_NAME@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _THIS_MODULE@GOTPAGE
Lloh10:
	ldr	x9, [x9, _THIS_MODULE@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	stp	w9, w8, [x20, #40]
Lloh12:
	adrp	x8, _sh_pfc_pinctrl_ops@GOTPAGE
Lloh13:
	ldr	x8, [x8, _sh_pfc_pinctrl_ops@GOTPAGEOFF]
	str	x8, [x20, #32]
Lloh14:
	adrp	x8, _sh_pfc_pinmux_ops@GOTPAGE
Lloh15:
	ldr	x8, [x8, _sh_pfc_pinmux_ops@GOTPAGEOFF]
Lloh16:
	adrp	x9, _sh_pfc_pinconf_ops@GOTPAGE
Lloh17:
	ldr	x9, [x9, _sh_pfc_pinconf_ops@GOTPAGEOFF]
	stp	x9, x8, [x20, #16]
	ldr	w8, [x20, #48]
	str	w8, [x20, #12]
	ldr	x8, [x19, #8]
	ldr	w8, [x8]
	mov	x1, x20
	str	w8, [x1, #8]!
	ldr	w0, [x19]
	mov	x2, x20
	mov	x3, x20
	bl	_devm_pinctrl_register_and_init
	cbz	w0, LBB0_7
; %bb.5:
	mov	x21, x0
	ldr	w0, [x19]
Lloh18:
	adrp	x1, l_.str@PAGE
Lloh19:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x21
	bl	_dev_err
	b	LBB0_2
LBB0_6:
	mov	x21, x0
	b	LBB0_2
LBB0_7:
	ldr	w0, [x20]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_pinctrl_enable
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_DRV_NAME,4,2                   ; @DRV_NAME
	.comm	_THIS_MODULE,4,2                ; @THIS_MODULE
	.comm	_sh_pfc_pinctrl_ops,4,2         ; @sh_pfc_pinctrl_ops
	.comm	_sh_pfc_pinmux_ops,4,2          ; @sh_pfc_pinmux_ops
	.comm	_sh_pfc_pinconf_ops,4,2         ; @sh_pfc_pinconf_ops
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"could not register: %i\n"

.subsections_via_symbols
