	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pic32_gpio_set_direction
_pic32_gpio_set_direction:              ## @pic32_gpio_set_direction
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rsi), %rdi
	movl	%edx, %esi
	testl	%ecx, %ecx
	je	LBB0_2
## %bb.1:
	callq	_pic32_gpio_direction_input
	jmp	LBB0_3
LBB0_2:
	xorl	%edx, %edx
	callq	_pic32_gpio_direction_output
LBB0_3:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_pic32_gpio_set_direction
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pic32_gpio_set_direction
_pic32_gpio_set_direction:              ; @pic32_gpio_set_direction
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	x0, [x1]
	mov	x1, x2
	cbz	w3, LBB0_2
; %bb.1:
	bl	_pic32_gpio_direction_input
	b	LBB0_3
LBB0_2:
	mov	w2, #0
	bl	_pic32_gpio_direction_output
LBB0_3:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_pic32_gpio_set_direction
.subsections_via_symbols
