	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ergodox_led_init               ## -- Begin function ergodox_led_init
	.p2align	4, 0x90
_ergodox_led_init:                      ## @ergodox_led_init
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_PB5@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	movl	$1, %edx
	movl	%eax, %ecx
	shll	%cl, %edx
	movl	$1, %esi
	movq	_PB6@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %esi
	btsl	%eax, %esi
	movq	_PB3@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	btsl	%eax, %esi
	movq	_DDRB@GOTPCREL(%rip), %r8
	movl	(%r8), %ecx
	orl	%esi, %ecx
	notl	%esi
	movq	_PORTB@GOTPCREL(%rip), %rdi
	andl	(%rdi), %esi
	movq	_PB0@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	btsl	%eax, %ecx
	movl	%ecx, (%r8)
	btsl	%eax, %esi
	movl	%esi, (%rdi)
	movq	_DDRD@GOTPCREL(%rip), %rax
	orl	%edx, (%rax)
	movq	_PORTD@GOTPCREL(%rip), %rax
	orl	%edx, (%rax)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PB5,4,2                        ## @PB5
	.comm	_PB6,4,2                        ## @PB6
	.comm	_PB3,4,2                        ## @PB3
	.comm	_DDRB,4,2                       ## @DDRB
	.comm	_PORTB,4,2                      ## @PORTB
	.comm	_PB0,4,2                        ## @PB0
	.comm	_DDRD,4,2                       ## @DDRD
	.comm	_PORTD,4,2                      ## @PORTD
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ergodox_led_init               ; -- Begin function ergodox_led_init
	.p2align	2
_ergodox_led_init:                      ; @ergodox_led_init
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _PB5@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PB5@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	mov	w9, #1
	lsl	w8, w9, w8
Lloh3:
	adrp	x10, _PB6@GOTPAGE
Lloh4:
	ldr	x10, [x10, _PB6@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	lsl	w10, w9, w10
Lloh6:
	adrp	x11, _PB3@GOTPAGE
Lloh7:
	ldr	x11, [x11, _PB3@GOTPAGEOFF]
	orr	w10, w10, w8
Lloh8:
	ldr	w11, [x11]
	lsl	w11, w9, w11
	orr	w10, w10, w11
Lloh9:
	adrp	x11, _DDRB@GOTPAGE
Lloh10:
	ldr	x11, [x11, _DDRB@GOTPAGEOFF]
	ldr	w12, [x11]
	orr	w12, w10, w12
Lloh11:
	adrp	x13, _PORTB@GOTPAGE
Lloh12:
	ldr	x13, [x13, _PORTB@GOTPAGEOFF]
	ldr	w14, [x13]
	bic	w10, w14, w10
Lloh13:
	adrp	x14, _PB0@GOTPAGE
Lloh14:
	ldr	x14, [x14, _PB0@GOTPAGEOFF]
Lloh15:
	ldr	w14, [x14]
	lsl	w9, w9, w14
	orr	w12, w9, w12
	str	w12, [x11]
	orr	w9, w9, w10
	str	w9, [x13]
Lloh16:
	adrp	x9, _DDRD@GOTPAGE
Lloh17:
	ldr	x9, [x9, _DDRD@GOTPAGEOFF]
	ldr	w10, [x9]
	orr	w10, w10, w8
	str	w10, [x9]
Lloh18:
	adrp	x9, _PORTD@GOTPAGE
Lloh19:
	ldr	x9, [x9, _PORTD@GOTPAGEOFF]
	ldr	w10, [x9]
	orr	w8, w10, w8
	str	w8, [x9]
	ret
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PB5,4,2                        ; @PB5
	.comm	_PB6,4,2                        ; @PB6
	.comm	_PB3,4,2                        ; @PB3
	.comm	_DDRB,4,2                       ; @DDRB
	.comm	_PORTB,4,2                      ; @PORTB
	.comm	_PB0,4,2                        ; @PB0
	.comm	_DDRD,4,2                       ; @DDRD
	.comm	_PORTD,4,2                      ; @PORTD
.subsections_via_symbols
