	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_amdgpu_device_get_job_timeout_settings ## -- Begin function amdgpu_device_get_job_timeout_settings
	.p2align	4, 0x90
_amdgpu_device_get_job_timeout_settings: ## @amdgpu_device_get_job_timeout_settings
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r13
	movq	_amdgpu_lockup_timeout@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	%rbx, -56(%rbp)
	movl	$10000, %edi                    ## imm = 0x2710
	callq	_msecs_to_jiffies
	movq	%rax, (%r13)
	movq	%rax, 16(%r13)
	movq	%rax, 8(%r13)
	movq	_MAX_SCHEDULE_TIMEOUT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 24(%r13)
	movq	_AMDGPU_MAX_TIMEOUT_PARAM_LENTH@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%rbx, %rdi
	callq	_strnlen
	xorl	%r15d, %r15d
	testq	%rax, %rax
	je	LBB0_11
## %bb.1:
	leaq	L_.str(%rip), %rsi
	leaq	-56(%rbp), %rdi
	callq	_strsep
	testq	%rax, %rax
	je	LBB0_11
## %bb.2:
	movq	%rax, %rbx
	leaq	16(%r13), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	leaq	8(%r13), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	leaq	24(%r13), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	jmp	LBB0_3
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%rax, (%rcx)
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	incl	%r14d
	leaq	-56(%rbp), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_strsep
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_9
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %esi
	movq	%rbx, %rdi
	callq	_strnlen
	testq	%rax, %rax
	je	LBB0_9
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	xorl	%esi, %esi
	leaq	-48(%rbp), %rdx
	callq	_kstrtol
	testl	%eax, %eax
	jne	LBB0_5
## %bb.12:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	-48(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.13:                              ##   in Loop: Header=BB0_3 Depth=1
	js	LBB0_14
## %bb.15:                              ##   in Loop: Header=BB0_3 Depth=1
	callq	_msecs_to_jiffies
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_MAX_SCHEDULE_TIMEOUT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_16:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	%rax, -48(%rbp)
	cmpl	$3, %r14d
	ja	LBB0_8
## %bb.17:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	%r14d, %ecx
	leaq	LJTI0_0(%rip), %rsi
	movslq	(%rsi,%rcx,4), %rdx
	addq	%rsi, %rdx
	movq	%r13, %rcx
	jmpq	*%rdx
LBB0_18:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	jmp	LBB0_7
LBB0_19:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	jmp	LBB0_7
LBB0_9:
	xorl	%r15d, %r15d
	cmpl	$1, %r14d
	jne	LBB0_11
## %bb.10:
	movq	(%r13), %rax
	movq	%rax, 16(%r13)
	movq	%rax, 8(%r13)
	jmp	LBB0_11
LBB0_5:
	movl	%eax, %r15d
LBB0_11:
	movl	%r15d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_19, LBB0_19-LJTI0_0
LJTI0_0:
	.long	L0_0_set_7
	.long	L0_0_set_6
	.long	L0_0_set_18
	.long	L0_0_set_19
	.end_data_region
                                        ## -- End function
	.comm	_amdgpu_lockup_timeout,8,3      ## @amdgpu_lockup_timeout
	.comm	_MAX_SCHEDULE_TIMEOUT,8,3       ## @MAX_SCHEDULE_TIMEOUT
	.comm	_AMDGPU_MAX_TIMEOUT_PARAM_LENTH,4,2 ## @AMDGPU_MAX_TIMEOUT_PARAM_LENTH
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	","

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_amdgpu_device_get_job_timeout_settings ; -- Begin function amdgpu_device_get_job_timeout_settings
	.p2align	2
_amdgpu_device_get_job_timeout_settings: ; @amdgpu_device_get_job_timeout_settings
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
Lloh0:
	adrp	x8, _amdgpu_lockup_timeout@GOTPAGE
Lloh1:
	ldr	x8, [x8, _amdgpu_lockup_timeout@GOTPAGEOFF]
Lloh2:
	ldr	x20, [x8]
	str	x20, [sp, #8]
	mov	w0, #10000
	bl	_msecs_to_jiffies
	str	x0, [x19]
	mov	x22, x19
	str	x0, [x22, #16]!
	mov	x23, x19
	str	x0, [x23, #8]!
Lloh3:
	adrp	x24, _MAX_SCHEDULE_TIMEOUT@GOTPAGE
Lloh4:
	ldr	x24, [x24, _MAX_SCHEDULE_TIMEOUT@GOTPAGEOFF]
	ldr	x8, [x24]
	mov	x25, x19
	str	x8, [x25, #24]!
Lloh5:
	adrp	x26, _AMDGPU_MAX_TIMEOUT_PARAM_LENTH@GOTPAGE
Lloh6:
	ldr	x26, [x26, _AMDGPU_MAX_TIMEOUT_PARAM_LENTH@GOTPAGEOFF]
	ldr	w1, [x26]
	mov	x0, x20
	bl	_strnlen
	cbz	x0, LBB0_19
; %bb.1:
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	add	x0, sp, #8
	bl	_strsep
	cbz	x0, LBB0_19
; %bb.2:
	mov	x21, x0
	mov	w27, #0
Lloh9:
	adrp	x20, l_.str@PAGE
Lloh10:
	add	x20, x20, l_.str@PAGEOFF
Lloh11:
	adrp	x28, lJTI0_0@PAGE
Lloh12:
	add	x28, x28, lJTI0_0@PAGEOFF
	b	LBB0_6
LBB0_3:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x8, x25
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	str	x0, [x8]
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	w27, w27, #1
	add	x0, sp, #8
	mov	x1, x20
	bl	_strsep
	mov	x21, x0
	cbz	x0, LBB0_16
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x26]
	mov	x0, x21
	bl	_strnlen
	cbz	x0, LBB0_16
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x2, sp
	mov	x0, x21
	mov	w1, #0
	bl	_kstrtol
	cbnz	w0, LBB0_19
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x0, [sp]
	cbz	x0, LBB0_5
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	tbnz	x0, #63, LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
	bl	_msecs_to_jiffies
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x0, [x24]
LBB0_12:                                ;   in Loop: Header=BB0_6 Depth=1
	str	x0, [sp]
	cmp	w27, #3
	b.hi	LBB0_5
; %bb.13:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	w8, w27
	adr	x9, LBB0_3
	ldrb	w10, [x28, x8]
	add	x9, x9, x10, lsl #2
	mov	x8, x19
	br	x9
LBB0_14:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x8, x23
	b	LBB0_4
LBB0_15:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x8, x22
	b	LBB0_4
LBB0_16:
	cmp	w27, #1
	b.ne	LBB0_18
; %bb.17:
	mov	w0, #0
	ldr	x8, [x19]
	stp	x8, x8, [x19, #8]
	b	LBB0_19
LBB0_18:
	mov	w0, #0
LBB0_19:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_4-LBB0_3)>>2
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_14-LBB0_3)>>2
	.byte	(LBB0_15-LBB0_3)>>2
                                        ; -- End function
	.comm	_amdgpu_lockup_timeout,8,3      ; @amdgpu_lockup_timeout
	.comm	_MAX_SCHEDULE_TIMEOUT,8,3       ; @MAX_SCHEDULE_TIMEOUT
	.comm	_AMDGPU_MAX_TIMEOUT_PARAM_LENTH,4,2 ; @AMDGPU_MAX_TIMEOUT_PARAM_LENTH
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	","

.subsections_via_symbols
