	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pinMode                        ## -- Begin function pinMode
	.p2align	4, 0x90
_pinMode:                               ## @pinMode
	.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	%rsi, %r14
	movq	%rdi, %rbx
	callq	_digitalPinToBitMask
	movq	%rax, %r13
	movq	%rbx, %rdi
	callq	_digitalPinToPort
	movq	%rax, %rbx
	movq	_NOT_A_PIN@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	je	LBB0_7
## %bb.1:
	movq	%rbx, %rdi
	callq	_portModeRegister
	movq	%rax, %r15
	movq	%rbx, %rdi
	callq	_portOutputRegister
	movq	%rax, %rbx
	movq	_INPUT@GOTPCREL(%rip), %rax
	cmpq	%r14, (%rax)
	jne	LBB0_3
## %bb.2:
	movq	_SREG@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	xorl	%eax, %eax
	callq	_cli
	notq	%r13
	andq	%r13, (%r15)
	andq	%r13, (%rbx)
	jmp	LBB0_6
LBB0_3:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	_INPUT_PULLUP@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	_SREG@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	xorl	%eax, %eax
	callq	_cli
	cmpq	%r14, %rbx
	jne	LBB0_5
## %bb.4:
	movq	%r13, %rax
	notq	%rax
	andq	%rax, (%r15)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	orq	%r13, (%rax)
	jmp	LBB0_6
LBB0_5:
	orq	%r13, (%r15)
LBB0_6:
	movq	_SREG@GOTPCREL(%rip), %rax
	movq	%r12, (%rax)
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NOT_A_PIN,8,3                  ## @NOT_A_PIN
	.comm	_INPUT,8,3                      ## @INPUT
	.comm	_SREG,8,3                       ## @SREG
	.comm	_INPUT_PULLUP,8,3               ## @INPUT_PULLUP
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pinMode                        ; -- Begin function pinMode
	.p2align	2
_pinMode:                               ; @pinMode
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x20, x1
	mov	x21, x0
	bl	_digitalPinToBitMask
	mov	x19, x0
	mov	x0, x21
	bl	_digitalPinToPort
Lloh0:
	adrp	x8, _NOT_A_PIN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NOT_A_PIN@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_7
; %bb.1:
	mov	x22, x0
	bl	_portModeRegister
	mov	x21, x0
	mov	x0, x22
	bl	_portOutputRegister
	mov	x22, x0
Lloh3:
	adrp	x8, _INPUT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _INPUT@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
Lloh6:
	adrp	x23, _SREG@GOTPAGE
Lloh7:
	ldr	x23, [x23, _SREG@GOTPAGEOFF]
	cmp	x8, x20
	b.ne	LBB0_3
; %bb.2:
	ldr	x24, [x23]
	bl	_cli
	ldr	x8, [x21]
	bic	x8, x8, x19
	str	x8, [x21]
	ldr	x8, [x22]
	bic	x8, x8, x19
	str	x8, [x22]
	b	LBB0_6
LBB0_3:
Lloh8:
	adrp	x8, _INPUT_PULLUP@GOTPAGE
Lloh9:
	ldr	x8, [x8, _INPUT_PULLUP@GOTPAGEOFF]
Lloh10:
	ldr	x25, [x8]
	ldr	x24, [x23]
	bl	_cli
	cmp	x25, x20
	b.ne	LBB0_5
; %bb.4:
	ldr	x8, [x21]
	bic	x8, x8, x19
	str	x8, [x21]
	ldr	x8, [x22]
	orr	x8, x8, x19
	str	x8, [x22]
	b	LBB0_6
LBB0_5:
	ldr	x8, [x21]
	orr	x8, x8, x19
	str	x8, [x21]
LBB0_6:
	str	x24, [x23]
LBB0_7:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_NOT_A_PIN,8,3                  ; @NOT_A_PIN
	.comm	_INPUT,8,3                      ; @INPUT
	.comm	_SREG,8,3                       ; @SREG
	.comm	_INPUT_PULLUP,8,3               ; @INPUT_PULLUP
.subsections_via_symbols
