	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PAD_Init                       ## -- Begin function PAD_Init
	.p2align	4, 0x90
_PAD_Init:                              ## @PAD_Init
	.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
	movq	___pad_initialized@GOTPCREL(%rip), %r14
	cmpl	$0, (%r14)
	je	LBB0_1
## %bb.4:
	movl	$1, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	_PAD_PRODPADS@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	___pad_spec@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.2:
	callq	_PAD_SetSpec
LBB0_3:
	movq	___pad_keys@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	movq	_PAD_CHANMAX@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	shll	$2, %edx
	xorl	%esi, %esi
	callq	_memset
	movq	___pad_recalibratebits@GOTPCREL(%rip), %rax
	movl	$-268435456, (%rax)             ## imm = 0xF0000000
	movq	(%r15), %rax
	movl	$-1, (%rax)
	movl	%ebx, %edi
	movl	$8, %esi
	movl	$14, %edx
	callq	__SHIFTL
	orl	$1291845632, %eax               ## imm = 0x4D000000
	movq	___pad_cmdprobedevice@GOTPCREL(%rip), %r12
	movq	(%r12), %rcx
	movl	%eax, (%rcx)
	movq	(%r15), %rax
	movl	$-1, 4(%rax)
	movl	%ebx, %edi
	movl	$8, %esi
	movl	$14, %edx
	callq	__SHIFTL
	orl	$1296039936, %eax               ## imm = 0x4D400000
	movq	(%r12), %rcx
	movl	%eax, 4(%rcx)
	movq	(%r15), %rax
	movl	$-1, 8(%rax)
	movl	%ebx, %edi
	movl	$8, %esi
	movl	$14, %edx
	callq	__SHIFTL
	orl	$1300234240, %eax               ## imm = 0x4D800000
	movq	(%r12), %rcx
	movl	%eax, 8(%rcx)
	movq	(%r15), %rax
	movl	$-1, 12(%rax)
	movl	%ebx, %edi
	movl	$8, %esi
	movl	$14, %edx
	callq	__SHIFTL
	orl	$1304428544, %eax               ## imm = 0x4DC00000
	movq	(%r12), %rcx
	movl	%eax, 12(%rcx)
	xorl	%eax, %eax
	callq	_SI_RefreshSamplingRate
	movq	_pad_resetinfo@GOTPCREL(%rip), %rdi
	callq	_SYS_RegisterResetFunc
	movl	$1, (%r14)
	movl	$-268435456, %edi               ## imm = 0xF0000000
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PAD_Reset                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PAD_PRODPADS,4,2               ## @PAD_PRODPADS
	.comm	___pad_initialized,4,2          ## @__pad_initialized
	.comm	___pad_spec,8,3                 ## @__pad_spec
	.comm	___pad_keys,8,3                 ## @__pad_keys
	.comm	_PAD_CHANMAX,4,2                ## @PAD_CHANMAX
	.comm	___pad_recalibratebits,4,2      ## @__pad_recalibratebits
	.comm	___pad_cmdprobedevice,8,3       ## @__pad_cmdprobedevice
	.comm	_pad_resetinfo,4,2              ## @pad_resetinfo
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PAD_Init                       ; -- Begin function PAD_Init
	.p2align	2
_PAD_Init:                              ; @PAD_Init
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
Lloh0:
	adrp	x20, ___pad_initialized@GOTPAGE
Lloh1:
	ldr	x20, [x20, ___pad_initialized@GOTPAGEOFF]
	ldr	w8, [x20]
	cbz	w8, LBB0_2
; %bb.1:
	mov	w0, #1
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_2:
Lloh2:
	adrp	x8, _PAD_PRODPADS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _PAD_PRODPADS@GOTPAGEOFF]
Lloh4:
	ldr	w19, [x8]
Lloh5:
	adrp	x8, ___pad_spec@GOTPAGE
Lloh6:
	ldr	x8, [x8, ___pad_spec@GOTPAGEOFF]
Lloh7:
	ldr	x0, [x8]
	cbz	x0, LBB0_4
; %bb.3:
	bl	_PAD_SetSpec
LBB0_4:
Lloh8:
	adrp	x21, ___pad_keys@GOTPAGE
Lloh9:
	ldr	x21, [x21, ___pad_keys@GOTPAGEOFF]
	ldr	x0, [x21]
Lloh10:
	adrp	x8, _PAD_CHANMAX@GOTPAGE
Lloh11:
	ldr	x8, [x8, _PAD_CHANMAX@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	lsl	w2, w8, #2
	mov	w1, #0
	bl	_memset
Lloh13:
	adrp	x8, ___pad_recalibratebits@GOTPAGE
Lloh14:
	ldr	x8, [x8, ___pad_recalibratebits@GOTPAGEOFF]
	mov	w9, #-268435456
Lloh15:
	str	w9, [x8]
	ldr	x8, [x21]
	mov	w22, #-1
	str	w22, [x8]
	mov	x0, x19
	mov	w1, #8
	mov	w2, #14
	bl	__SHIFTL
	mov	w8, #1291845632
	orr	w8, w0, w8
Lloh16:
	adrp	x23, ___pad_cmdprobedevice@GOTPAGE
Lloh17:
	ldr	x23, [x23, ___pad_cmdprobedevice@GOTPAGEOFF]
	ldr	x9, [x23]
	str	w8, [x9]
	ldr	x8, [x21]
	str	w22, [x8, #4]
	mov	x0, x19
	mov	w1, #8
	mov	w2, #14
	bl	__SHIFTL
	mov	w8, #1296039936
	orr	w8, w0, w8
	ldr	x9, [x23]
	str	w8, [x9, #4]
	ldr	x8, [x21]
	str	w22, [x8, #8]
	mov	x0, x19
	mov	w1, #8
	mov	w2, #14
	bl	__SHIFTL
	mov	w8, #1300234240
	orr	w8, w0, w8
	ldr	x9, [x23]
	str	w8, [x9, #8]
	ldr	x8, [x21]
	str	w22, [x8, #12]
	mov	x0, x19
	mov	w1, #8
	mov	w2, #14
	bl	__SHIFTL
	mov	w8, #1304428544
	orr	w8, w0, w8
	ldr	x9, [x23]
	str	w8, [x9, #12]
	bl	_SI_RefreshSamplingRate
Lloh18:
	adrp	x0, _pad_resetinfo@GOTPAGE
Lloh19:
	ldr	x0, [x0, _pad_resetinfo@GOTPAGEOFF]
	bl	_SYS_RegisterResetFunc
	mov	w8, #1
	str	w8, [x20]
	mov	w0, #-268435456
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_PAD_Reset
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotStr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_PAD_PRODPADS,4,2               ; @PAD_PRODPADS
	.comm	___pad_initialized,4,2          ; @__pad_initialized
	.comm	___pad_spec,8,3                 ; @__pad_spec
	.comm	___pad_keys,8,3                 ; @__pad_keys
	.comm	_PAD_CHANMAX,4,2                ; @PAD_CHANMAX
	.comm	___pad_recalibratebits,4,2      ; @__pad_recalibratebits
	.comm	___pad_cmdprobedevice,8,3       ; @__pad_cmdprobedevice
	.comm	_pad_resetinfo,4,2              ; @pad_resetinfo
.subsections_via_symbols
