	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gfx_v7_0_set_ring_funcs
_gfx_v7_0_set_ring_funcs:               ## @gfx_v7_0_set_ring_funcs
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movl	(%rdi), %edx
	testl	%edx, %edx
	jle	LBB0_2
## %bb.1:
	movq	16(%rbx), %rdi
	shlq	$3, %rdx
	leaq	l_.memset_pattern(%rip), %rsi
	callq	_memset_pattern16
LBB0_2:
	movl	4(%rbx), %edx
	testl	%edx, %edx
	jle	LBB0_4
## %bb.3:
	movq	8(%rbx), %rdi
	shlq	$3, %rdx
	leaq	l_.memset_pattern.1(%rip), %rsi
	callq	_memset_pattern16
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_gfx_v7_0_ring_funcs_gfx,4,2    ## @gfx_v7_0_ring_funcs_gfx
	.comm	_gfx_v7_0_ring_funcs_compute,4,2 ## @gfx_v7_0_ring_funcs_compute
	.section	__DATA,__const
	.p2align	4                               ## @.memset_pattern
l_.memset_pattern:
	.quad	_gfx_v7_0_ring_funcs_gfx
	.quad	_gfx_v7_0_ring_funcs_gfx

	.p2align	4                               ## @.memset_pattern.1
l_.memset_pattern.1:
	.quad	_gfx_v7_0_ring_funcs_compute
	.quad	_gfx_v7_0_ring_funcs_compute

	.no_dead_strip	_gfx_v7_0_set_ring_funcs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gfx_v7_0_set_ring_funcs
_gfx_v7_0_set_ring_funcs:               ; @gfx_v7_0_set_ring_funcs
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_2
; %bb.1:
	ldr	x0, [x19, #16]
	lsl	x2, x8, #3
Lloh0:
	adrp	x1, l_.memset_pattern@PAGE
Lloh1:
	add	x1, x1, l_.memset_pattern@PAGEOFF
	bl	_memset_pattern16
LBB0_2:
	ldr	w8, [x19, #4]
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.3:
	ldr	x0, [x19, #8]
	lsl	x2, x8, #3
Lloh2:
	adrp	x1, l_.memset_pattern.1@PAGE
Lloh3:
	add	x1, x1, l_.memset_pattern.1@PAGEOFF
	bl	_memset_pattern16
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_gfx_v7_0_ring_funcs_gfx,4,2    ; @gfx_v7_0_ring_funcs_gfx
	.comm	_gfx_v7_0_ring_funcs_compute,4,2 ; @gfx_v7_0_ring_funcs_compute
	.section	__DATA,__const
	.p2align	4                               ; @.memset_pattern
l_.memset_pattern:
	.quad	_gfx_v7_0_ring_funcs_gfx
	.quad	_gfx_v7_0_ring_funcs_gfx

	.p2align	4                               ; @.memset_pattern.1
l_.memset_pattern.1:
	.quad	_gfx_v7_0_ring_funcs_compute
	.quad	_gfx_v7_0_ring_funcs_compute

	.no_dead_strip	_gfx_v7_0_set_ring_funcs
.subsections_via_symbols
