	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rdc_gpio_set_value_impl
_rdc_gpio_set_value_impl:               ## @rdc_gpio_set_value_impl
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edx, %r14d
	movl	%esi, %ebx
	callq	_gpiochip_get_data
	movl	$1, %edx
	movl	%ebx, %ecx
	shll	%cl, %edx
	xorl	%ecx, %ecx
	testl	%r14d, %r14d
	je	LBB0_2
## %bb.1:
	cmpl	$32, %ebx
	setae	%cl
	movq	(%rax), %rsi
	orl	(%rsi,%rcx,4), %edx
	jmp	LBB0_3
LBB0_2:
	cmpl	$32, %ebx
	setae	%cl
	notl	%edx
	movq	(%rax), %rsi
	andl	(%rsi,%rcx,4), %edx
LBB0_3:
	movl	%edx, (%rsi,%rcx,4)
	xorl	%ecx, %ecx
	cmpl	$32, %ebx
	setae	%cl
	movl	16(%rax), %edi
	movl	8(%rax,%rcx,4), %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_pci_write_config_dword         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_rdc_gpio_set_value_impl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rdc_gpio_set_value_impl
_rdc_gpio_set_value_impl:               ; @rdc_gpio_set_value_impl
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x2
	mov	x19, x1
	bl	_gpiochip_get_data
	mov	w8, #1
	lsl	w8, w8, w19
	cmp	w19, #31
	cset	w9, hi
	cbz	w20, LBB0_2
; %bb.1:
	ldr	x10, [x0]
	lsl	x9, x9, #2
	ldr	w11, [x10, x9]
	orr	w2, w11, w8
	b	LBB0_3
LBB0_2:
	ldr	x10, [x0]
	lsl	x9, x9, #2
	ldr	w11, [x10, x9]
	bic	w2, w11, w8
LBB0_3:
	str	w2, [x10, x9]
	ldr	w8, [x0, #16]
	cmp	w19, #31
	mov	w9, #8
	mov	w10, #12
	csel	x9, x10, x9, hi
	ldr	w1, [x0, x9]
	mov	x0, x8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_pci_write_config_dword
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_rdc_gpio_set_value_impl
.subsections_via_symbols
