	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function free_job
_free_job:                              ## @free_job
	.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	%rsi, %rbx
	movq	%rdi, %r15
	movq	32(%rsi), %r14
	cmpq	$0, (%rsi)
	je	LBB0_3
## %bb.1:
	leaq	24(%rbx), %rsi
	movq	%r15, %rdi
	callq	_hl_userptr_delete_list
	movq	16(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.2:
	callq	_spin_lock
	movq	16(%rbx), %rdi
	decl	4(%rdi)
	callq	_spin_unlock
	movq	16(%rbx), %rdi
	callq	_hl_cb_put
LBB0_3:
	movq	%r14, %rdi
	callq	_spin_lock
	leaq	8(%rbx), %rdi
	callq	_list_del
	movq	%r14, %rdi
	callq	_spin_unlock
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_hl_debugfs_remove_job
	cmpq	$0, (%rbx)
	je	LBB0_5
## %bb.4:
	movq	%r14, %rdi
	callq	_cs_put
LBB0_5:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_kfree                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_free_job
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function free_job
_free_job:                              ; @free_job
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x1
	mov	x21, x0
	ldr	x20, [x1, #32]
	ldr	x8, [x1]
	cbz	x8, LBB0_3
; %bb.1:
	add	x1, x19, #24
	mov	x0, x21
	bl	_hl_userptr_delete_list
	ldr	x0, [x19, #16]
	cbz	x0, LBB0_3
; %bb.2:
	bl	_spin_lock
	ldr	x0, [x19, #16]
	ldr	w8, [x0, #4]
	sub	w8, w8, #1
	str	w8, [x0, #4]
	bl	_spin_unlock
	ldr	x0, [x19, #16]
	bl	_hl_cb_put
LBB0_3:
	mov	x0, x20
	bl	_spin_lock
	add	x0, x19, #8
	bl	_list_del
	mov	x0, x20
	bl	_spin_unlock
	mov	x0, x21
	mov	x1, x19
	bl	_hl_debugfs_remove_job
	ldr	x8, [x19]
	cbz	x8, LBB0_5
; %bb.4:
	mov	x0, x20
	bl	_cs_put
LBB0_5:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_kfree
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_free_job
.subsections_via_symbols
