	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gpio_rcar_set_multiple
_gpio_rcar_set_multiple:                ## @gpio_rcar_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rdi, %r12
	callq	_gpiochip_get_data
	movq	%rax, %r15
	movq	(%rbx), %r13
	movq	8(%r12), %rdi
	decq	%rdi
	xorl	%esi, %esi
	callq	_GENMASK
	movq	%rax, %rbx
	andq	%r13, %rbx
	movq	(%r12), %rax
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	andq	(%rax), %rbx
LBB0_2:
	testq	%rbx, %rbx
	je	LBB0_3
## %bb.4:
	movq	%r15, %rdi
	callq	_spin_lock_irqsave
	movq	_OUTDT@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%r15, %rdi
	callq	_gpio_rcar_read
	movq	(%r14), %rdx
	xorq	%rax, %rdx
	andq	%rbx, %rdx
	xorq	%rax, %rdx
	movl	(%r12), %esi
	movq	%r15, %rdi
	callq	_gpio_rcar_write
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock_irqrestore         ## TAILCALL
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OUTDT,4,2                      ## @OUTDT
	.no_dead_strip	_gpio_rcar_set_multiple
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gpio_rcar_set_multiple
_gpio_rcar_set_multiple:                ; @gpio_rcar_set_multiple
	.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	x20, x2
	mov	x21, x1
	mov	x22, x0
	bl	_gpiochip_get_data
	mov	x19, x0
	ldr	x21, [x21]
	ldr	x8, [x22, #8]
	sub	x0, x8, #1
	mov	w1, #0
	bl	_GENMASK
	and	x21, x0, x21
	ldr	x8, [x22]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	x8, [x8]
	and	x21, x8, x21
LBB0_2:
	cbz	x21, LBB0_4
; %bb.3:
	mov	x0, x19
	bl	_spin_lock_irqsave
Lloh0:
	adrp	x22, _OUTDT@GOTPAGE
Lloh1:
	ldr	x22, [x22, _OUTDT@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x19
	bl	_gpio_rcar_read
	bic	x8, x0, x21
	ldr	x9, [x20]
	and	x9, x9, x21
	orr	x2, x9, x8
	ldr	w1, [x22]
	mov	x0, x19
	bl	_gpio_rcar_write
	mov	x0, x19
	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
	b	_spin_unlock_irqrestore
LBB0_4:
	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
	.cfi_endproc
                                        ; -- End function
	.comm	_OUTDT,4,2                      ; @OUTDT
	.no_dead_strip	_gpio_rcar_set_multiple
.subsections_via_symbols
