	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rc5t583_gpio_dir_output
_rc5t583_gpio_dir_output:               ## @rc5t583_gpio_dir_output
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movl	%esi, %r12d
	movq	%rdi, %rbx
	callq	_gpiochip_get_data
	movq	(%rax), %rax
	movq	(%rax), %r14
	movq	%rbx, %rdi
	movl	%r12d, %esi
	movl	%r15d, %edx
	callq	_rc5t583_gpio_set
	movq	_RC5T583_GPIO_IOSEL@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%r12d, %edi
	callq	_BIT
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_rc5t583_set_bits
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movq	_RC5T583_GPIO_PGSEL@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%r12d, %edi
	callq	_BIT
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rc5t583_clear_bits             ## TAILCALL
LBB0_1:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RC5T583_GPIO_IOSEL,4,2         ## @RC5T583_GPIO_IOSEL
	.comm	_RC5T583_GPIO_PGSEL,4,2         ## @RC5T583_GPIO_PGSEL
	.no_dead_strip	_rc5t583_gpio_dir_output
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rc5t583_gpio_dir_output
_rc5t583_gpio_dir_output:               ; @rc5t583_gpio_dir_output
	.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	x21, x2
	mov	x19, x1
	mov	x22, x0
	bl	_gpiochip_get_data
	ldr	x8, [x0]
	ldr	x20, [x8]
	mov	x0, x22
	mov	x1, x19
	mov	x2, x21
	bl	_rc5t583_gpio_set
Lloh0:
	adrp	x8, _RC5T583_GPIO_IOSEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RC5T583_GPIO_IOSEL@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x8]
	mov	x0, x19
	bl	_BIT
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_rc5t583_set_bits
	tbnz	w0, #31, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _RC5T583_GPIO_PGSEL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RC5T583_GPIO_PGSEL@GOTPAGEOFF]
Lloh5:
	ldr	w21, [x8]
	mov	x0, x19
	bl	_BIT
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	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	_rc5t583_clear_bits
LBB0_2:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_RC5T583_GPIO_IOSEL,4,2         ; @RC5T583_GPIO_IOSEL
	.comm	_RC5T583_GPIO_PGSEL,4,2         ; @RC5T583_GPIO_PGSEL
	.no_dead_strip	_rc5t583_gpio_dir_output
.subsections_via_symbols
