	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function uniphier_gpio_set_multiple
_uniphier_gpio_set_multiple:            ## @uniphier_gpio_set_multiple
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	cmpl	$0, (%rdi)
	jle	LBB0_3
## %bb.1:
	movq	%rsi, %r12
	movq	%rdi, %r13
	movq	_UNIPHIER_GPIO_LINES_PER_BANK@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %eax
	cltd
	idivl	%ecx
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	%ebx, %eax
	cltd
	movq	_BITS_PER_LONG@GOTPCREL(%rip), %rcx
	idivl	(%rcx)
	movl	%edx, %r14d
	movl	%ebx, %edi
	callq	_BIT_WORD
	movq	(%r12,%rax,8), %r15
	movl	%r14d, %ecx
	shrq	%cl, %r15
	movq	_UNIPHIER_GPIO_BANK_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %r15d
	movl	%ebx, %edi
	callq	_BIT_WORD
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx,%rax,8), %r8
	movl	%r14d, %ecx
	shrq	%cl, %r8
	movq	_UNIPHIER_GPIO_PORT_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	%r15d, %ecx
                                        ## kill: def $r8d killed $r8d killed $r8
	callq	_uniphier_gpio_bank_write
	movq	_UNIPHIER_GPIO_LINES_PER_BANK@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	addl	%ecx, %ebx
	cmpl	(%r13), %ebx
	jl	LBB0_2
LBB0_3:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_UNIPHIER_GPIO_LINES_PER_BANK,4,2 ## @UNIPHIER_GPIO_LINES_PER_BANK
	.comm	_BITS_PER_LONG,4,2              ## @BITS_PER_LONG
	.comm	_UNIPHIER_GPIO_BANK_MASK,8,3    ## @UNIPHIER_GPIO_BANK_MASK
	.comm	_UNIPHIER_GPIO_PORT_DATA,4,2    ## @UNIPHIER_GPIO_PORT_DATA
	.no_dead_strip	_uniphier_gpio_set_multiple
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function uniphier_gpio_set_multiple
_uniphier_gpio_set_multiple:            ; @uniphier_gpio_set_multiple
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	mov	w22, #0
Lloh0:
	adrp	x8, _UNIPHIER_GPIO_LINES_PER_BANK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _UNIPHIER_GPIO_LINES_PER_BANK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x26, _BITS_PER_LONG@GOTPAGE
Lloh4:
	ldr	x26, [x26, _BITS_PER_LONG@GOTPAGEOFF]
Lloh5:
	adrp	x27, _UNIPHIER_GPIO_BANK_MASK@GOTPAGE
Lloh6:
	ldr	x27, [x27, _UNIPHIER_GPIO_BANK_MASK@GOTPAGEOFF]
Lloh7:
	adrp	x28, _UNIPHIER_GPIO_PORT_DATA@GOTPAGE
Lloh8:
	ldr	x28, [x28, _UNIPHIER_GPIO_PORT_DATA@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x26]
	sdiv	w10, w22, w9
	msub	w25, w10, w9, w22
	sdiv	w23, w22, w8
	mov	x0, x22
	bl	_BIT_WORD
	ldr	x8, [x20, x0, lsl #3]
	lsr	x8, x8, x25
	ldr	w9, [x27]
	and	w24, w8, w9
	mov	x0, x22
	bl	_BIT_WORD
	ldr	x8, [x19, x0, lsl #3]
	lsr	x4, x8, x25
	ldr	w2, [x28]
	mov	x0, x21
	mov	x1, x23
	mov	x3, x24
                                        ; kill: def $w4 killed $w4 killed $x4
	bl	_uniphier_gpio_bank_write
Lloh9:
	adrp	x8, _UNIPHIER_GPIO_LINES_PER_BANK@GOTPAGE
Lloh10:
	ldr	x8, [x8, _UNIPHIER_GPIO_LINES_PER_BANK@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	ldr	w9, [x21]
	add	w22, w8, w22
	cmp	w22, w9
	b.lt	LBB0_2
LBB0_3:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_UNIPHIER_GPIO_LINES_PER_BANK,4,2 ; @UNIPHIER_GPIO_LINES_PER_BANK
	.comm	_BITS_PER_LONG,4,2              ; @BITS_PER_LONG
	.comm	_UNIPHIER_GPIO_BANK_MASK,8,3    ; @UNIPHIER_GPIO_BANK_MASK
	.comm	_UNIPHIER_GPIO_PORT_DATA,4,2    ; @UNIPHIER_GPIO_PORT_DATA
	.no_dead_strip	_uniphier_gpio_set_multiple
.subsections_via_symbols
