	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function uniphier_conf_pin_drive_get
_uniphier_conf_pin_drive_get:           ## @uniphier_conf_pin_drive_get
	.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
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movl	%esi, %r12d
	movq	%rdi, %rbx
	callq	_pinctrl_dev_get_drvdata
	movq	%rax, %r15
	leaq	-48(%rbp), %rdx
	leaq	-44(%rbp), %rcx
	leaq	-40(%rbp), %r8
	leaq	-56(%rbp), %r9
	movq	%rbx, %rdi
	movl	%r12d, %esi
	callq	_uniphier_conf_get_drvctrl_data
	testl	%eax, %eax
	jne	LBB0_6
## %bb.1:
	cmpl	$0, -40(%rbp)
	je	LBB0_4
## %bb.2:
	movl	(%r15), %edi
	movl	-48(%rbp), %esi
	leaq	-36(%rbp), %rdx
	callq	_regmap_read
	testl	%eax, %eax
	jne	LBB0_6
## %bb.3:
	movl	-36(%rbp), %edx
	movl	-40(%rbp), %eax
	jmp	LBB0_5
LBB0_4:
	movl	$0, -36(%rbp)
	xorl	%eax, %eax
	xorl	%edx, %edx
LBB0_5:
	movq	-56(%rbp), %rsi
	movb	-44(%rbp), %cl
	movl	%edx, %edx
	shrq	%cl, %rdx
	andl	%eax, %edx
	movl	(%rsi,%rdx,4), %eax
	movl	%eax, (%r14)
	xorl	%eax, %eax
LBB0_6:
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_uniphier_conf_pin_drive_get
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function uniphier_conf_pin_drive_get
_uniphier_conf_pin_drive_get:           ; @uniphier_conf_pin_drive_get
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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, x2
	mov	x21, x1
	mov	x22, x0
	bl	_pinctrl_dev_get_drvdata
	mov	x20, x0
	add	x2, sp, #28
	add	x3, sp, #24
	add	x4, sp, #20
	add	x5, sp, #8
	mov	x0, x22
	mov	x1, x21
	bl	_uniphier_conf_get_drvctrl_data
	cbnz	w0, LBB0_6
; %bb.1:
	ldr	w8, [sp, #20]
	cbz	w8, LBB0_4
; %bb.2:
	ldr	w0, [x20]
	ldr	w1, [sp, #28]
	add	x2, sp, #16
	bl	_regmap_read
	cbnz	w0, LBB0_6
; %bb.3:
	ldp	w9, w8, [sp, #16]
	b	LBB0_5
LBB0_4:
	mov	w9, #0
	str	wzr, [sp, #16]
LBB0_5:
	mov	w0, #0
	ldr	x10, [sp, #8]
	ldr	w11, [sp, #24]
	mov	w9, w9
	lsr	x9, x9, x11
	mov	w8, w8
	and	x8, x9, x8
	ldr	w8, [x10, x8, lsl #2]
	str	w8, [x19]
LBB0_6:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_uniphier_conf_pin_drive_get
.subsections_via_symbols
