	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_amdgpu_ring_generic_pad_ib     ## -- Begin function amdgpu_ring_generic_pad_ib
	.p2align	4, 0x90
_amdgpu_ring_generic_pad_ib:            ## @amdgpu_ring_generic_pad_ib
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	movl	(%rsi), %ecx
	testl	%ecx, (%rax)
	je	LBB0_3
## %bb.1:
	movq	8(%rsi), %r8
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	4(%rax), %edi
	leal	1(%rcx), %edx
	movl	%edx, (%rsi)
	movslq	%ecx, %rcx
	movl	%edi, (%r8,%rcx,4)
	movl	(%rsi), %ecx
	testl	%ecx, (%rax)
	jne	LBB0_2
LBB0_3:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_amdgpu_ring_generic_pad_ib     ; -- Begin function amdgpu_ring_generic_pad_ib
	.p2align	2
_amdgpu_ring_generic_pad_ib:            ; @amdgpu_ring_generic_pad_ib
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
	ldr	w9, [x1]
	ldr	w10, [x8]
	tst	w10, w9
	b.eq	LBB0_3
; %bb.1:
	ldr	x10, [x1, #8]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x8, #4]
	add	w12, w9, #1
	str	w12, [x1]
	str	w11, [x10, w9, sxtw #2]
	ldr	w9, [x1]
	ldr	w11, [x8]
	tst	w11, w9
	b.ne	LBB0_2
LBB0_3:
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
