	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ionic_init_devinfo             ## -- Begin function ionic_init_devinfo
	.p2align	4, 0x90
_ionic_init_devinfo:                    ## @ionic_init_devinfo
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	40(%rdi), %rdi
	addq	$12, %rdi
	callq	_ioread8
	movq	%rax, 32(%rbx)
	movq	40(%rbx), %rdi
	addq	$8, %rdi
	callq	_ioread8
	movq	%rax, 24(%rbx)
	movq	8(%rbx), %rdi
	movq	40(%rbx), %rax
	movl	4(%rax), %esi
	movq	_IONIC_DEVINFO_FWVERS_BUFLEN@GOTPCREL(%rip), %r14
	movq	(%r14), %rdx
	callq	_memcpy_fromio
	movq	16(%rbx), %rdi
	movq	40(%rbx), %rax
	movl	(%rax), %esi
	movq	_IONIC_DEVINFO_SERIAL_BUFLEN@GOTPCREL(%rip), %r15
	movq	(%r15), %rdx
	callq	_memcpy_fromio
	movq	8(%rbx), %rdx
	movq	(%r14), %rax
	movq	$0, (%rdx,%rax,8)
	movq	16(%rbx), %rax
	movq	(%r15), %rcx
	movq	$0, (%rax,%rcx,8)
	movl	(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dev_dbg                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IONIC_DEVINFO_FWVERS_BUFLEN,8,3 ## @IONIC_DEVINFO_FWVERS_BUFLEN
	.comm	_IONIC_DEVINFO_SERIAL_BUFLEN,8,3 ## @IONIC_DEVINFO_SERIAL_BUFLEN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"fw_version %s\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ionic_init_devinfo             ; -- Begin function ionic_init_devinfo
	.p2align	2
_ionic_init_devinfo:                    ; @ionic_init_devinfo
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
	ldr	x8, [x0, #40]
	add	x0, x8, #12
	bl	_ioread8
	str	x0, [x19, #32]
	ldr	x8, [x19, #40]
	add	x0, x8, #8
	bl	_ioread8
	str	x0, [x19, #24]
	ldr	x0, [x19, #8]
	ldr	x8, [x19, #40]
	ldr	w1, [x8, #4]
Lloh0:
	adrp	x20, _IONIC_DEVINFO_FWVERS_BUFLEN@GOTPAGE
Lloh1:
	ldr	x20, [x20, _IONIC_DEVINFO_FWVERS_BUFLEN@GOTPAGEOFF]
	ldr	x2, [x20]
	bl	_memcpy_fromio
	ldr	x0, [x19, #16]
	ldr	x8, [x19, #40]
	ldr	w1, [x8]
Lloh2:
	adrp	x21, _IONIC_DEVINFO_SERIAL_BUFLEN@GOTPAGE
Lloh3:
	ldr	x21, [x21, _IONIC_DEVINFO_SERIAL_BUFLEN@GOTPAGEOFF]
	ldr	x2, [x21]
	bl	_memcpy_fromio
	ldr	x8, [x20]
	ldp	x2, x9, [x19, #8]
	str	xzr, [x2, x8, lsl #3]
	ldr	x8, [x21]
	str	xzr, [x9, x8, lsl #3]
	ldr	w0, [x19]
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_dev_dbg
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_IONIC_DEVINFO_FWVERS_BUFLEN,8,3 ; @IONIC_DEVINFO_FWVERS_BUFLEN
	.comm	_IONIC_DEVINFO_SERIAL_BUFLEN,8,3 ; @IONIC_DEVINFO_SERIAL_BUFLEN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"fw_version %s\n"

.subsections_via_symbols
