	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dm_unregister_target           ## -- Begin function dm_unregister_target
	.p2align	4, 0x90
_dm_unregister_target:                  ## @dm_unregister_target
	.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
	movq	__lock@GOTPCREL(%rip), %rdi
	callq	_down_write
	movl	4(%rbx), %edi
	callq	___find_target_type
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movl	4(%rbx), %esi
	leaq	L_.str(%rip), %rdi
	callq	_DMCRIT
	xorl	%eax, %eax
	callq	_BUG
LBB0_2:
	movq	%rbx, %rdi
	callq	_list_del
	movq	__lock@GOTPCREL(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_up_write                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	__lock,4,2                      ## @_lock
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unregistering unrecognised target: %s"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dm_unregister_target           ; -- Begin function dm_unregister_target
	.p2align	2
_dm_unregister_target:                  ; @dm_unregister_target
	.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
Lloh0:
	adrp	x0, __lock@GOTPAGE
Lloh1:
	ldr	x0, [x0, __lock@GOTPAGEOFF]
	bl	_down_write
	ldr	w0, [x19, #4]
	bl	___find_target_type
	cbnz	w0, LBB0_2
; %bb.1:
	ldr	w1, [x19, #4]
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DMCRIT
	bl	_BUG
LBB0_2:
	mov	x0, x19
	bl	_list_del
Lloh4:
	adrp	x0, __lock@GOTPAGE
Lloh5:
	ldr	x0, [x0, __lock@GOTPAGEOFF]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_up_write
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	__lock,4,2                      ; @_lock
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unregistering unrecognised target: %s"

.subsections_via_symbols
