	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mac8390_memsize
_mac8390_memsize:                       ## @mac8390_memsize
	.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, %r14
	callq	_local_irq_save
	xorl	%r15d, %r15d
	movq	%r14, %rbx
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_1 Depth=1
	incq	%r15
	addq	$4096, %rbx                     ## imm = 0x1000
	cmpq	$8, %r15
	je	LBB0_18
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_hwreg_present
	testq	%rax, %rax
	je	LBB0_19
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	%r15d, %eax
	orl	$42400, %eax                    ## imm = 0xA5A0
	movw	%ax, (%rbx)
	movzwl	(%rbx), %ecx
	cmpl	%ecx, %eax
	jne	LBB0_19
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	testq	%r15, %r15
	je	LBB0_17
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	movzwl	(%r14), %eax
	cmpl	$42400, %eax                    ## imm = 0xA5A0
	jne	LBB0_17
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpq	$2, %r15
	jb	LBB0_17
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	movzwl	4096(%r14), %eax
	cmpl	$42401, %eax                    ## imm = 0xA5A1
	jne	LBB0_17
## %bb.7:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpq	$3, %r15
	jb	LBB0_17
## %bb.8:                               ##   in Loop: Header=BB0_1 Depth=1
	movzwl	8192(%r14), %eax
	cmpl	$42402, %eax                    ## imm = 0xA5A2
	jne	LBB0_17
## %bb.9:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpq	$4, %r15
	jb	LBB0_17
## %bb.10:                              ##   in Loop: Header=BB0_1 Depth=1
	movzwl	12288(%r14), %eax
	cmpl	$42403, %eax                    ## imm = 0xA5A3
	jne	LBB0_17
## %bb.11:                              ##   in Loop: Header=BB0_1 Depth=1
	cmpq	$5, %r15
	jb	LBB0_17
## %bb.12:                              ##   in Loop: Header=BB0_1 Depth=1
	movzwl	16384(%r14), %eax
	cmpl	$42404, %eax                    ## imm = 0xA5A4
	jne	LBB0_17
## %bb.13:                              ##   in Loop: Header=BB0_1 Depth=1
	cmpq	$6, %r15
	jb	LBB0_17
## %bb.14:                              ##   in Loop: Header=BB0_1 Depth=1
	movzwl	20480(%r14), %eax
	cmpl	$42405, %eax                    ## imm = 0xA5A5
	jne	LBB0_17
## %bb.15:                              ##   in Loop: Header=BB0_1 Depth=1
	cmpq	$7, %r15
	jb	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_1 Depth=1
	movzwl	24576(%r14), %eax
	jmp	LBB0_17
LBB0_18:
	movl	$8, %r15d
LBB0_19:
	callq	_local_irq_restore
	shll	$12, %r15d
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_mac8390_memsize
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mac8390_memsize
_mac8390_memsize:                       ; @mac8390_memsize
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
	bl	_local_irq_save
	mov	x21, #0
	mov	w22, #42400
	mov	w23, #42401
	mov	w24, #8192
	mov	w25, #42402
	mov	w26, #12288
	mov	w27, #42403
	mov	w28, #42404
	mov	x20, x19
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	add	x21, x21, #1
	add	x20, x20, #1, lsl #12           ; =4096
	cmp	x21, #8
	b.eq	LBB0_18
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_hwreg_present
	cbz	x0, LBB0_18
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	orr	w8, w21, w22
	strh	w8, [x20]
	ldrh	w9, [x20]
	cmp	w8, w9
	b.ne	LBB0_18
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	cbz	x21, LBB0_1
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	ldrh	w8, [x19]
	cmp	w8, w22
	b.ne	LBB0_1
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	x21, #2
	b.lo	LBB0_1
; %bb.7:                                ;   in Loop: Header=BB0_2 Depth=1
	ldrh	w8, [x19, #4096]
	cmp	w8, w23
	b.ne	LBB0_1
; %bb.8:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	x21, #3
	b.lo	LBB0_1
; %bb.9:                                ;   in Loop: Header=BB0_2 Depth=1
	ldrh	w8, [x19, x24]
	cmp	w8, w25
	b.ne	LBB0_1
; %bb.10:                               ;   in Loop: Header=BB0_2 Depth=1
	cmp	x21, #4
	b.lo	LBB0_1
; %bb.11:                               ;   in Loop: Header=BB0_2 Depth=1
	ldrh	w8, [x19, x26]
	cmp	w8, w27
	b.ne	LBB0_1
; %bb.12:                               ;   in Loop: Header=BB0_2 Depth=1
	cmp	x21, #5
	b.lo	LBB0_1
; %bb.13:                               ;   in Loop: Header=BB0_2 Depth=1
	mov	w8, #16384
	ldrh	w8, [x19, x8]
	cmp	w8, w28
	b.ne	LBB0_1
; %bb.14:                               ;   in Loop: Header=BB0_2 Depth=1
	cmp	x21, #6
	b.lo	LBB0_1
; %bb.15:                               ;   in Loop: Header=BB0_2 Depth=1
	mov	w8, #20480
	ldrh	w8, [x19, x8]
	mov	w9, #42405
	cmp	w8, w9
	b.ne	LBB0_1
; %bb.16:                               ;   in Loop: Header=BB0_2 Depth=1
	cmp	x21, #7
	b.lo	LBB0_1
; %bb.17:                               ;   in Loop: Header=BB0_2 Depth=1
	mov	w8, #24576
	ldrh	wzr, [x19, x8]
	b	LBB0_1
LBB0_18:
	bl	_local_irq_restore
	lsl	w0, w21, #12
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_mac8390_memsize
.subsections_via_symbols
