	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function amd_rng_init
_amd_rng_init:                          ## @amd_rng_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_amd_pdev@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	leaq	-28(%rbp), %r14
	movl	$64, %esi
	movq	%r14, %rdx
	callq	_pci_read_config_byte
	movl	$128, %ebx
	movl	-28(%rbp), %edx
	orl	%ebx, %edx
	movl	%edx, -28(%rbp)
	movl	(%r15), %edi
	movl	$64, %esi
	callq	_pci_write_config_byte
	movl	(%r15), %edi
	movl	$65, %esi
	movq	%r14, %rdx
	callq	_pci_read_config_byte
	orl	-28(%rbp), %ebx
	movl	%ebx, -28(%rbp)
	movl	(%r15), %edi
	movl	$65, %esi
	movl	%ebx, %edx
	callq	_pci_write_config_byte
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_amd_pdev,4,2                   ## @amd_pdev
	.no_dead_strip	_amd_rng_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function amd_rng_init
_amd_rng_init:                          ; @amd_rng_init
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
Lloh0:
	adrp	x19, _amd_pdev@GOTPAGE
Lloh1:
	ldr	x19, [x19, _amd_pdev@GOTPAGEOFF]
	ldr	w0, [x19]
	add	x2, sp, #12
	mov	w1, #64
	bl	_pci_read_config_byte
	ldr	w8, [sp, #12]
	orr	w2, w8, #0x80
	str	w2, [sp, #12]
	ldr	w0, [x19]
	mov	w1, #64
	bl	_pci_write_config_byte
	ldr	w0, [x19]
	add	x2, sp, #12
	mov	w1, #65
	bl	_pci_read_config_byte
	ldr	w8, [sp, #12]
	orr	w2, w8, #0x80
	str	w2, [sp, #12]
	ldr	w0, [x19]
	mov	w1, #65
	bl	_pci_write_config_byte
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_amd_pdev,4,2                   ; @amd_pdev
	.no_dead_strip	_amd_rng_init
.subsections_via_symbols
