	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function r8a77995_pin_to_pocctrl
_r8a77995_pin_to_pocctrl:               ## @r8a77995_pin_to_pocctrl
	.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
	movl	%esi, %r14d
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	movl	$-435813504, (%rdx)             ## imm = 0xE6060380
	movl	$3, %edi
	xorl	%esi, %esi
	callq	_RCAR_GP_PIN
	cmpl	%r14d, %eax
	ja	LBB0_3
## %bb.1:
	movl	$3, %edi
	movl	$9, %esi
	callq	_RCAR_GP_PIN
	cmpl	%r14d, %eax
	jb	LBB0_3
## %bb.2:
	movl	$3, %edi
	xorl	%esi, %esi
	callq	_RCAR_GP_PIN
	movl	%eax, %ebx
	subl	%r14d, %ebx
	addl	$29, %ebx
LBB0_3:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_r8a77995_pin_to_pocctrl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function r8a77995_pin_to_pocctrl
_r8a77995_pin_to_pocctrl:               ; @r8a77995_pin_to_pocctrl
	.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
	mov	x19, x1
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w20, w8
	mov	w8, #896
	movk	w8, #58886, lsl #16
	str	w8, [x2]
	mov	w0, #3
	mov	w1, #0
	bl	_RCAR_GP_PIN
	cmp	w0, w19
	b.hi	LBB0_3
; %bb.1:
	mov	w0, #3
	mov	w1, #9
	bl	_RCAR_GP_PIN
	cmp	w0, w19
	b.lo	LBB0_3
; %bb.2:
	mov	w0, #3
	mov	w1, #0
	bl	_RCAR_GP_PIN
	sub	w8, w0, w19
	add	w20, w8, #29
LBB0_3:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_r8a77995_pin_to_pocctrl
.subsections_via_symbols
