	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Amd7930_init                   ## -- Begin function Amd7930_init
	.p2align	4, 0x90
_Amd7930_init:                          ## @Amd7930_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	%rdi, %r15
	movq	_L1_DEB_ISAC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rdi)
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_debugl1
LBB0_2:
	xorps	%xmm0, %xmm0
	movups	%xmm0, 24(%r15)
	movl	$64, 16(%r15)
	movq	_Amd7930_ph_command@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%r15)
	movq	_setstack_Amd7930@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r15)
	movq	_DC_Close_Amd7930@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r15)
	movq	_initAMD@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	4(%r12), %edi
	addq	$8, %r12
	callq	_LOBYTE
	movq	%r15, %rdi
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	_wByteAMD
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_14 Depth 2
                                        ##     Child Loop BB0_9 Depth 2
	movl	(%r12), %edi
	cmpl	$65535, %edi                    ## imm = 0xFFFF
	je	LBB0_15
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	callq	_LOBYTE
	movl	%eax, %r14d
	cmpl	$256, (%r12)                    ## imm = 0x100
	jl	LBB0_10
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$7, %r14d
	jg	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	addq	$4, %r12
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_rByteAMD
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$7, %r14d
	jle	LBB0_11
## %bb.12:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	%r14d, %edx
	callq	_wByteAMD
	movl	4(%r12), %ebx
	addq	$8, %r12
	testl	%ebx, %ebx
	jle	LBB0_3
## %bb.13:                              ##   in Loop: Header=BB0_3 Depth=1
	incl	%ebx
	.p2align	4, 0x90
LBB0_14:                                ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%r12), %edi
	addq	$4, %r12
	callq	_LOBYTE
	movq	%r15, %rdi
	movl	$1, %esi
	movl	%eax, %edx
	callq	_wByteAMD
	decl	%ebx
	cmpl	$1, %ebx
	ja	LBB0_14
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	%r14d, %edx
	callq	_wByteAMD
	movl	4(%r12), %ebx
	addq	$8, %r12
	testl	%ebx, %ebx
	jle	LBB0_3
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	incl	%ebx
	.p2align	4, 0x90
LBB0_9:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r15, %rdi
	movl	$1, %esi
	callq	_rByteAMD
	decl	%ebx
	cmpl	$1, %ebx
	ja	LBB0_9
	jmp	LBB0_3
LBB0_15:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_L1_DEB_ISAC,4,2                ## @L1_DEB_ISAC
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Amd7930: initamd called"

	.comm	_Amd7930_ph_command,4,2         ## @Amd7930_ph_command
	.comm	_setstack_Amd7930,4,2           ## @setstack_Amd7930
	.comm	_DC_Close_Amd7930,4,2           ## @DC_Close_Amd7930
	.comm	_initAMD,8,3                    ## @initAMD
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Amd7930_init                   ; -- Begin function Amd7930_init
	.p2align	2
_Amd7930_init:                          ; @Amd7930_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
	mov	x19, x0
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _L1_DEB_ISAC@GOTPAGE
Lloh1:
	ldr	x9, [x9, _L1_DEB_ISAC@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_debugl1
LBB0_2:
	stp	xzr, xzr, [x19, #24]
Lloh5:
	adrp	x8, _Amd7930_ph_command@GOTPAGE
Lloh6:
	ldr	x8, [x8, _Amd7930_ph_command@GOTPAGEOFF]
	mov	w9, #64
Lloh7:
	ldr	w8, [x8]
	stp	w9, w8, [x19, #16]
Lloh8:
	adrp	x8, _setstack_Amd7930@GOTPAGE
Lloh9:
	ldr	x8, [x8, _setstack_Amd7930@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	adrp	x9, _DC_Close_Amd7930@GOTPAGE
Lloh12:
	ldr	x9, [x9, _DC_Close_Amd7930@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #4]
Lloh14:
	adrp	x8, _initAMD@GOTPAGE
Lloh15:
	ldr	x8, [x8, _initAMD@GOTPAGEOFF]
Lloh16:
	ldr	x23, [x8]
	ldr	w0, [x23]
	mov	w21, #65535
	cmp	w0, w21
	b.ne	LBB0_4
LBB0_3:
	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_4:
	mov	x22, x23
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	x22, x23, #8
	ldr	w0, [x23, #4]
	bl	_LOBYTE
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_wByteAMD
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldr	w0, [x22]
	mov	x23, x22
	cmp	w0, w21
	b.eq	LBB0_3
LBB0_7:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_13 Depth 2
                                        ;     Child Loop BB0_16 Depth 2
	bl	_LOBYTE
	mov	x20, x0
	ldr	w8, [x22], #4
	cmp	w8, #256
	b.lt	LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x19
	cmp	w20, #7
	b.gt	LBB0_14
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x1, x20
	bl	_rByteAMD
	b	LBB0_6
LBB0_10:                                ;   in Loop: Header=BB0_7 Depth=1
	cmp	w20, #7
	b.le	LBB0_5
; %bb.11:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x19
	mov	w1, #0
	mov	x2, x20
	bl	_wByteAMD
	add	x22, x23, #8
	ldr	w8, [x23, #4]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.12:                               ;   in Loop: Header=BB0_7 Depth=1
	add	w20, w8, #1
LBB0_13:                                ;   Parent Loop BB0_7 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w0, [x22], #4
	bl	_LOBYTE
	mov	x2, x0
	mov	x0, x19
	mov	w1, #1
	bl	_wByteAMD
	sub	w20, w20, #1
	cmp	w20, #1
	b.hi	LBB0_13
	b	LBB0_6
LBB0_14:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	w1, #0
	mov	x2, x20
	bl	_wByteAMD
	add	x22, x23, #8
	ldr	w8, [x23, #4]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.15:                               ;   in Loop: Header=BB0_7 Depth=1
	add	w20, w8, #1
LBB0_16:                                ;   Parent Loop BB0_7 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x19
	mov	w1, #1
	bl	_rByteAMD
	sub	w20, w20, #1
	cmp	w20, #1
	b.hi	LBB0_16
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_L1_DEB_ISAC,4,2                ; @L1_DEB_ISAC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Amd7930: initamd called"

	.comm	_Amd7930_ph_command,4,2         ; @Amd7930_ph_command
	.comm	_setstack_Amd7930,4,2           ; @setstack_Amd7930
	.comm	_DC_Close_Amd7930,4,2           ; @DC_Close_Amd7930
	.comm	_initAMD,8,3                    ; @initAMD
.subsections_via_symbols
