	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ltq_pinctrl_register           ## -- Begin function ltq_pinctrl_register
	.p2align	4, 0x90
_ltq_pinctrl_register:                  ## @ltq_pinctrl_register
	.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
	testq	%rsi, %rsi
	je	LBB0_1
## %bb.2:
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	16(%rsi), %rsi
	movq	_ltq_pctrl_ops@GOTPCREL(%rip), %rax
	movq	%rax, 8(%rsi)
	movq	_ltq_pmx_ops@GOTPCREL(%rip), %rax
	movq	%rax, (%rsi)
	movq	%rdi, 8(%rbx)
	movq	%rbx, %rdx
	callq	_devm_pinctrl_register
	movl	%eax, (%rbx)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_3
## %bb.5:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_err
	movl	(%rbx), %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_4
LBB0_3:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_platform_set_drvdata
	xorl	%eax, %eax
LBB0_4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_ltq_pctrl_ops,4,2              ## @ltq_pctrl_ops
	.comm	_ltq_pmx_ops,4,2                ## @ltq_pmx_ops
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"failed to register LTQ pinmux driver\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ltq_pinctrl_register           ; -- Begin function ltq_pinctrl_register
	.p2align	2
_ltq_pinctrl_register:                  ; @ltq_pinctrl_register
	.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
	cbz	x1, LBB0_3
; %bb.1:
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _ltq_pctrl_ops@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ltq_pctrl_ops@GOTPAGEOFF]
	ldr	x1, [x1, #16]
Lloh2:
	adrp	x9, _ltq_pmx_ops@GOTPAGE
Lloh3:
	ldr	x9, [x9, _ltq_pmx_ops@GOTPAGEOFF]
	stp	x9, x8, [x1]
	str	x0, [x19, #8]
	mov	x2, x19
	bl	_devm_pinctrl_register
	str	w0, [x19]
	bl	_IS_ERR
	cbz	x0, LBB0_4
; %bb.2:
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_dev_err
	ldr	w0, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_PTR_ERR
LBB0_3:
Lloh6:
	adrp	x8, _EINVAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_5
LBB0_4:
	mov	x0, x20
	mov	x1, x19
	bl	_platform_set_drvdata
	mov	w0, #0
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_ltq_pctrl_ops,4,2              ; @ltq_pctrl_ops
	.comm	_ltq_pmx_ops,4,2                ; @ltq_pmx_ops
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"failed to register LTQ pinmux driver\n"

.subsections_via_symbols
