	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function corgikbd_activate_all
_corgikbd_activate_all:                 ## @corgikbd_activate_all
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_CORGI_GPIO_ALL_STROBE_BIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_GPDR2@GOTPCREL(%rip), %rcx
	orl	%eax, (%rcx)
	movq	_GPSR2@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_KB_DISCHARGE_DELAY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_udelay
	movq	_CORGI_GPIO_HIGH_SENSE_BIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_GEDR1@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_CORGI_GPIO_LOW_SENSE_BIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_GEDR2@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CORGI_GPIO_ALL_STROBE_BIT,4,2  ## @CORGI_GPIO_ALL_STROBE_BIT
	.comm	_GPSR2,4,2                      ## @GPSR2
	.comm	_GPDR2,4,2                      ## @GPDR2
	.comm	_KB_DISCHARGE_DELAY,4,2         ## @KB_DISCHARGE_DELAY
	.comm	_CORGI_GPIO_HIGH_SENSE_BIT,4,2  ## @CORGI_GPIO_HIGH_SENSE_BIT
	.comm	_GEDR1,4,2                      ## @GEDR1
	.comm	_CORGI_GPIO_LOW_SENSE_BIT,4,2   ## @CORGI_GPIO_LOW_SENSE_BIT
	.comm	_GEDR2,4,2                      ## @GEDR2
	.no_dead_strip	_corgikbd_activate_all
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function corgikbd_activate_all
_corgikbd_activate_all:                 ; @corgikbd_activate_all
	.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
Lloh0:
	adrp	x8, _CORGI_GPIO_ALL_STROBE_BIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CORGI_GPIO_ALL_STROBE_BIT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _GPSR2@GOTPAGE
Lloh4:
	ldr	x9, [x9, _GPSR2@GOTPAGEOFF]
Lloh5:
	str	w8, [x9]
Lloh6:
	adrp	x9, _GPDR2@GOTPAGE
Lloh7:
	ldr	x9, [x9, _GPDR2@GOTPAGEOFF]
	ldr	w10, [x9]
	orr	w8, w10, w8
	str	w8, [x9]
Lloh8:
	adrp	x8, _KB_DISCHARGE_DELAY@GOTPAGE
Lloh9:
	ldr	x8, [x8, _KB_DISCHARGE_DELAY@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	bl	_udelay
Lloh11:
	adrp	x8, _CORGI_GPIO_HIGH_SENSE_BIT@GOTPAGE
Lloh12:
	ldr	x8, [x8, _CORGI_GPIO_HIGH_SENSE_BIT@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
Lloh14:
	adrp	x9, _GEDR1@GOTPAGE
Lloh15:
	ldr	x9, [x9, _GEDR1@GOTPAGEOFF]
Lloh16:
	str	w8, [x9]
Lloh17:
	adrp	x8, _CORGI_GPIO_LOW_SENSE_BIT@GOTPAGE
Lloh18:
	ldr	x8, [x8, _CORGI_GPIO_LOW_SENSE_BIT@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
Lloh20:
	adrp	x9, _GEDR2@GOTPAGE
Lloh21:
	ldr	x9, [x9, _GEDR2@GOTPAGEOFF]
Lloh22:
	str	w8, [x9]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotStr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotStr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotStr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CORGI_GPIO_ALL_STROBE_BIT,4,2  ; @CORGI_GPIO_ALL_STROBE_BIT
	.comm	_GPSR2,4,2                      ; @GPSR2
	.comm	_GPDR2,4,2                      ; @GPDR2
	.comm	_KB_DISCHARGE_DELAY,4,2         ; @KB_DISCHARGE_DELAY
	.comm	_CORGI_GPIO_HIGH_SENSE_BIT,4,2  ; @CORGI_GPIO_HIGH_SENSE_BIT
	.comm	_GEDR1,4,2                      ; @GEDR1
	.comm	_CORGI_GPIO_LOW_SENSE_BIT,4,2   ; @CORGI_GPIO_LOW_SENSE_BIT
	.comm	_GEDR2,4,2                      ; @GEDR2
	.no_dead_strip	_corgikbd_activate_all
.subsections_via_symbols
