	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sunxi_pconf_reg
_sunxi_pconf_reg:                       ## @sunxi_pconf_reg
	.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	%r8, %r14
	movq	%rcx, %r15
	movq	%rdx, %r12
                                        ## kill: def $esi killed $esi def $rsi
	movl	%edi, %ebx
	leal	-129(%rsi), %eax
	cmpl	$3, %eax
	jae	LBB0_1
## %bb.4:
	movl	%ebx, %edi
	callq	_sunxi_pull_reg
	movl	%eax, (%r12)
	movl	%ebx, %edi
	callq	_sunxi_pull_offset
	movq	_PULL_PINS_MASK@GOTPCREL(%rip), %rcx
	jmp	LBB0_5
LBB0_1:
	cmpl	$128, %esi
	jne	LBB0_3
## %bb.2:
	movl	%ebx, %edi
	callq	_sunxi_dlevel_reg
	movl	%eax, (%r12)
	movl	%ebx, %edi
	callq	_sunxi_dlevel_offset
	movq	_DLEVEL_PINS_MASK@GOTPCREL(%rip), %rcx
LBB0_5:
	movl	%eax, (%r15)
	movl	(%rcx), %eax
	movl	%eax, (%r14)
	xorl	%eax, %eax
	jmp	LBB0_6
LBB0_3:
	movq	_ENOTSUPP@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_6:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DLEVEL_PINS_MASK,4,2           ## @DLEVEL_PINS_MASK
	.comm	_PULL_PINS_MASK,4,2             ## @PULL_PINS_MASK
	.comm	_ENOTSUPP,4,2                   ## @ENOTSUPP
	.no_dead_strip	_sunxi_pconf_reg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sunxi_pconf_reg
_sunxi_pconf_reg:                       ; @sunxi_pconf_reg
	.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, x4
	mov	x20, x3
	mov	x22, x2
	mov	x21, x0
	sub	w8, w1, #129
	cmp	w8, #3
	b.hs	LBB0_2
; %bb.1:
	mov	x0, x21
	bl	_sunxi_pull_reg
	str	w0, [x22]
	mov	x0, x21
	bl	_sunxi_pull_offset
Lloh0:
	adrp	x9, _PULL_PINS_MASK@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PULL_PINS_MASK@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:
	cmp	w1, #128
	b.ne	LBB0_5
; %bb.3:
	mov	x0, x21
	bl	_sunxi_dlevel_reg
	str	w0, [x22]
	mov	x0, x21
	bl	_sunxi_dlevel_offset
Lloh2:
	adrp	x9, _DLEVEL_PINS_MASK@GOTPAGE
Lloh3:
	ldr	x9, [x9, _DLEVEL_PINS_MASK@GOTPAGEOFF]
LBB0_4:
	mov	w8, #0
	str	w0, [x20]
	ldr	w9, [x9]
	str	w9, [x19]
	b	LBB0_6
LBB0_5:
Lloh4:
	adrp	x8, _ENOTSUPP@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ENOTSUPP@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	neg	w8, w8
LBB0_6:
	mov	x0, x8
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_DLEVEL_PINS_MASK,4,2           ; @DLEVEL_PINS_MASK
	.comm	_PULL_PINS_MASK,4,2             ; @PULL_PINS_MASK
	.comm	_ENOTSUPP,4,2                   ; @ENOTSUPP
	.no_dead_strip	_sunxi_pconf_reg
.subsections_via_symbols
