	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sirfsoc_gpio_to_bank
_sirfsoc_gpio_to_bank:                  ## @sirfsoc_gpio_to_bank
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%esi, %eax
	movq	_SIRFSOC_GPIO_BANK_SIZE@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	divl	(%rcx)
                                        ## kill: def $eax killed $eax def $rax
	shlq	$2, %rax
	addq	(%rdi), %rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SIRFSOC_GPIO_BANK_SIZE,4,2     ## @SIRFSOC_GPIO_BANK_SIZE
	.no_dead_strip	_sirfsoc_gpio_to_bank
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sirfsoc_gpio_to_bank
_sirfsoc_gpio_to_bank:                  ; @sirfsoc_gpio_to_bank
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _SIRFSOC_GPIO_BANK_SIZE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SIRFSOC_GPIO_BANK_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	udiv	w9, w1, w9
	add	x0, x8, w9, uxtw #2
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SIRFSOC_GPIO_BANK_SIZE,4,2     ; @SIRFSOC_GPIO_BANK_SIZE
	.no_dead_strip	_sirfsoc_gpio_to_bank
.subsections_via_symbols
