	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_kfd_dbgdev_init                ## -- Begin function kfd_dbgdev_init
	.p2align	4, 0x90
_kfd_dbgdev_init:                       ## @kfd_dbgdev_init
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rsi, 40(%rdi)
	movl	%edx, (%rdi)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 24(%rdi)
	cmpl	$128, %edx
	jne	LBB0_2
## %bb.1:
	movq	_dbgdev_address_watch_nodiq@GOTPCREL(%rip), %rax
	movq	_dbgdev_wave_control_nodiq@GOTPCREL(%rip), %rcx
	movq	_dbgdev_unregister_nodiq@GOTPCREL(%rip), %rdx
	movq	_dbgdev_register_nodiq@GOTPCREL(%rip), %rsi
	jmp	LBB0_3
LBB0_2:
	movq	_dbgdev_address_watch_diq@GOTPCREL(%rip), %rax
	movq	_dbgdev_wave_control_diq@GOTPCREL(%rip), %rcx
	movq	_dbgdev_unregister_diq@GOTPCREL(%rip), %rdx
	movq	_dbgdev_register_diq@GOTPCREL(%rip), %rsi
LBB0_3:
	movl	(%rax), %eax
	movl	(%rcx), %ecx
	movl	(%rdx), %edx
	movl	(%rsi), %esi
	movl	%esi, 16(%rdi)
	movl	%edx, 12(%rdi)
	movl	%ecx, 8(%rdi)
	movl	%eax, 4(%rdi)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_dbgdev_register_nodiq,4,2      ## @dbgdev_register_nodiq
	.comm	_dbgdev_unregister_nodiq,4,2    ## @dbgdev_unregister_nodiq
	.comm	_dbgdev_wave_control_nodiq,4,2  ## @dbgdev_wave_control_nodiq
	.comm	_dbgdev_address_watch_nodiq,4,2 ## @dbgdev_address_watch_nodiq
	.comm	_dbgdev_register_diq,4,2        ## @dbgdev_register_diq
	.comm	_dbgdev_unregister_diq,4,2      ## @dbgdev_unregister_diq
	.comm	_dbgdev_wave_control_diq,4,2    ## @dbgdev_wave_control_diq
	.comm	_dbgdev_address_watch_diq,4,2   ## @dbgdev_address_watch_diq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_kfd_dbgdev_init                ; -- Begin function kfd_dbgdev_init
	.p2align	2
_kfd_dbgdev_init:                       ; @kfd_dbgdev_init
	.cfi_startproc
; %bb.0:
	str	x1, [x0, #40]
Lloh0:
	adrp	x8, _dbgdev_address_watch_nodiq@GOTPAGE
Lloh1:
	ldr	x8, [x8, _dbgdev_address_watch_nodiq@GOTPAGEOFF]
	str	w2, [x0]
Lloh2:
	adrp	x9, _dbgdev_wave_control_nodiq@GOTPAGE
Lloh3:
	ldr	x9, [x9, _dbgdev_wave_control_nodiq@GOTPAGEOFF]
Lloh4:
	adrp	x10, _dbgdev_unregister_nodiq@GOTPAGE
Lloh5:
	ldr	x10, [x10, _dbgdev_unregister_nodiq@GOTPAGEOFF]
	stp	xzr, xzr, [x0, #24]
Lloh6:
	adrp	x11, _dbgdev_register_nodiq@GOTPAGE
Lloh7:
	ldr	x11, [x11, _dbgdev_register_nodiq@GOTPAGEOFF]
	cmp	w2, #128
Lloh8:
	adrp	x12, _dbgdev_address_watch_diq@GOTPAGE
Lloh9:
	ldr	x12, [x12, _dbgdev_address_watch_diq@GOTPAGEOFF]
Lloh10:
	adrp	x13, _dbgdev_wave_control_diq@GOTPAGE
Lloh11:
	ldr	x13, [x13, _dbgdev_wave_control_diq@GOTPAGEOFF]
Lloh12:
	adrp	x14, _dbgdev_unregister_diq@GOTPAGE
Lloh13:
	ldr	x14, [x14, _dbgdev_unregister_diq@GOTPAGEOFF]
Lloh14:
	adrp	x15, _dbgdev_register_diq@GOTPAGE
Lloh15:
	ldr	x15, [x15, _dbgdev_register_diq@GOTPAGEOFF]
	csel	x11, x11, x15, eq
	csel	x10, x10, x14, eq
	csel	x9, x9, x13, eq
	csel	x8, x8, x12, eq
	ldr	w8, [x8]
	ldr	w9, [x9]
	ldr	w10, [x10]
	ldr	w11, [x11]
	stp	w10, w11, [x0, #12]
	stp	w8, w9, [x0, #4]
	ret
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_dbgdev_register_nodiq,4,2      ; @dbgdev_register_nodiq
	.comm	_dbgdev_unregister_nodiq,4,2    ; @dbgdev_unregister_nodiq
	.comm	_dbgdev_wave_control_nodiq,4,2  ; @dbgdev_wave_control_nodiq
	.comm	_dbgdev_address_watch_nodiq,4,2 ; @dbgdev_address_watch_nodiq
	.comm	_dbgdev_register_diq,4,2        ; @dbgdev_register_diq
	.comm	_dbgdev_unregister_diq,4,2      ; @dbgdev_unregister_diq
	.comm	_dbgdev_wave_control_diq,4,2    ; @dbgdev_wave_control_diq
	.comm	_dbgdev_address_watch_diq,4,2   ; @dbgdev_address_watch_diq
.subsections_via_symbols
