	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function amd756_access_virt0
_amd756_access_virt0:                   ## @amd756_access_virt0
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpl	$76, %esi
	je	LBB0_4
## %bb.1:
	movl	%esi, %ebx
	movl	%esi, %eax
	andl	$252, %eax
	cmpl	$80, %eax
	je	LBB0_4
## %bb.2:
	cmpl	$24, %ebx
	je	LBB0_4
## %bb.3:
	cmpl	$48, %eax
	je	LBB0_4
## %bb.6:
	movl	%r8d, %r15d
	movl	%ecx, %r12d
	movl	%edx, %r14d
	movq	%rdi, %r13
	movq	_amd756_lock@GOTPCREL(%rip), %rdi
	movl	%r9d, -44(%rbp)                 ## 4-byte Spill
	callq	_mutex_lock
	movq	_amd756_smbus@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	16(%rbp), %rcx
	movq	%rcx, (%rsp)
	movzwl	%r14w, %edx
	movsbl	%r12b, %ecx
	movq	%r13, %rdi
	movl	%ebx, %esi
	movl	%r15d, %r8d
	movl	-44(%rbp), %r9d                 ## 4-byte Reload
	callq	*(%rax)
	movl	%eax, %ebx
	movq	_amd756_lock@GOTPCREL(%rip), %rdi
	callq	_mutex_unlock
	movl	%ebx, %eax
	jmp	LBB0_5
LBB0_4:
	movq	_ENXIO@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_5:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENXIO,4,2                      ## @ENXIO
	.comm	_amd756_lock,4,2                ## @amd756_lock
	.comm	_amd756_smbus,8,3               ## @amd756_smbus
	.no_dead_strip	_amd756_access_virt0
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function amd756_access_virt0
_amd756_access_virt0:                   ; @amd756_access_virt0
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	cmp	w1, #76
	b.eq	LBB0_5
; %bb.1:
	mov	x24, x1
	and	w8, w1, #0xfc
	cmp	w8, #80
	b.eq	LBB0_5
; %bb.2:
	cmp	w24, #24
	b.eq	LBB0_5
; %bb.3:
	cmp	w8, #48
	b.eq	LBB0_5
; %bb.4:
	mov	x19, x6
	mov	x20, x5
	mov	x21, x4
	mov	x22, x3
	mov	x23, x2
	mov	x25, x0
Lloh0:
	adrp	x26, _amd756_lock@GOTPAGE
Lloh1:
	ldr	x26, [x26, _amd756_lock@GOTPAGEOFF]
	mov	x0, x26
	bl	_mutex_lock
Lloh2:
	adrp	x8, _amd756_smbus@GOTPAGE
Lloh3:
	ldr	x8, [x8, _amd756_smbus@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	ldr	x8, [x8]
	mov	x0, x25
	mov	x1, x24
	mov	x2, x23
	mov	x3, x22
	mov	x4, x21
	mov	x5, x20
	mov	x6, x19
	blr	x8
	mov	x19, x0
	mov	x0, x26
	bl	_mutex_unlock
	mov	x0, x19
	b	LBB0_6
LBB0_5:
Lloh5:
	adrp	x8, _ENXIO@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENXIO@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_6:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_ENXIO,4,2                      ; @ENXIO
	.comm	_amd756_lock,4,2                ; @amd756_lock
	.comm	_amd756_smbus,8,3               ; @amd756_smbus
	.no_dead_strip	_amd756_access_virt0
.subsections_via_symbols
