	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sunxi_data_reg
_sunxi_data_reg:                        ## @sunxi_data_reg
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%edi, %eax
	movq	_PINS_PER_BANK@GOTPCREL(%rip), %rcx
	cltd
	idivl	(%rcx)
	movl	%eax, %ecx
	movl	%edx, %eax
	movq	_BANK_MEM_SIZE@GOTPCREL(%rip), %rdx
	imull	(%rdx), %ecx
	movq	_DATA_REGS_OFFSET@GOTPCREL(%rip), %rdx
	addl	(%rdx), %ecx
	movq	_DATA_PINS_PER_REG@GOTPCREL(%rip), %rsi
	cltd
	idivl	(%rsi)
                                        ## kill: def $eax killed $eax def $rax
	leal	(%rcx,%rax,4), %edi
	movl	$4, %esi
	popq	%rbp
	jmp	_round_down                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PINS_PER_BANK,4,2              ## @PINS_PER_BANK
	.comm	_BANK_MEM_SIZE,4,2              ## @BANK_MEM_SIZE
	.comm	_DATA_REGS_OFFSET,8,3           ## @DATA_REGS_OFFSET
	.comm	_DATA_PINS_PER_REG,4,2          ## @DATA_PINS_PER_REG
	.no_dead_strip	_sunxi_data_reg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sunxi_data_reg
_sunxi_data_reg:                        ; @sunxi_data_reg
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _PINS_PER_BANK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PINS_PER_BANK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	sdiv	w9, w0, w8
Lloh3:
	adrp	x10, _BANK_MEM_SIZE@GOTPAGE
Lloh4:
	ldr	x10, [x10, _BANK_MEM_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
Lloh6:
	adrp	x11, _DATA_REGS_OFFSET@GOTPAGE
Lloh7:
	ldr	x11, [x11, _DATA_REGS_OFFSET@GOTPAGEOFF]
Lloh8:
	ldr	w11, [x11]
	madd	w10, w10, w9, w11
Lloh9:
	adrp	x11, _DATA_PINS_PER_REG@GOTPAGE
Lloh10:
	ldr	x11, [x11, _DATA_PINS_PER_REG@GOTPAGEOFF]
	msub	w8, w9, w8, w0
Lloh11:
	ldr	w9, [x11]
	sdiv	w8, w8, w9
	add	w0, w10, w8, lsl #2
	mov	w1, #4
	b	_round_down
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PINS_PER_BANK,4,2              ; @PINS_PER_BANK
	.comm	_BANK_MEM_SIZE,4,2              ; @BANK_MEM_SIZE
	.comm	_DATA_REGS_OFFSET,8,3           ; @DATA_REGS_OFFSET
	.comm	_DATA_PINS_PER_REG,4,2          ; @DATA_PINS_PER_REG
	.no_dead_strip	_sunxi_data_reg
.subsections_via_symbols
