	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xpc_teardown_msg_structures_sn2
_xpc_teardown_msg_structures_sn2:       ## @xpc_teardown_msg_structures_sn2
	.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
	addq	$12, %rdi
	callq	_spin_is_locked
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_DBUG_ON
	movq	$0, 120(%rbx)
	movq	112(%rbx), %rax
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rax)
	movups	%xmm0, 88(%rbx)
	movups	%xmm0, 72(%rbx)
	movups	%xmm0, 56(%rbx)
	movq	$0, 104(%rbx)
	movl	(%rbx), %edx
	movq	_XPC_C_SETUP@GOTPCREL(%rip), %rax
	testl	%edx, (%rax)
	je	LBB0_2
## %bb.1:
	movq	_xpc_chan@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	4(%rbx), %r8d
	movl	8(%rbx), %ecx
	leaq	L_.str(%rip), %rsi
	callq	_dev_dbg
	movq	48(%rbx), %rdi
	callq	_kfree
	movq	$0, 40(%rbx)
	movq	32(%rbx), %rdi
	callq	_kfree
	movq	$0, 24(%rbx)
	movq	16(%rbx), %rdi
	callq	_kfree
	movq	$0, 16(%rbx)
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_XPC_C_SETUP,4,2                ## @XPC_C_SETUP
	.comm	_xpc_chan,4,2                   ## @xpc_chan
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ch->flags=0x%x, partid=%d, channel=%d\n"

	.no_dead_strip	_xpc_teardown_msg_structures_sn2
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xpc_teardown_msg_structures_sn2
_xpc_teardown_msg_structures_sn2:       ; @xpc_teardown_msg_structures_sn2
	.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
	add	x0, x0, #12
	bl	_spin_is_locked
	cmp	w0, #0
	cset	w0, eq
	bl	_DBUG_ON
	str	xzr, [x19, #120]
	ldr	x8, [x19, #112]
	stp	xzr, xzr, [x8]
	movi.2d	v0, #0000000000000000
	stur	q0, [x19, #56]
	stur	q0, [x19, #72]
	stur	q0, [x19, #88]
	str	xzr, [x19, #104]
	ldr	w2, [x19]
Lloh0:
	adrp	x8, _XPC_C_SETUP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _XPC_C_SETUP@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w2
	b.eq	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _xpc_chan@GOTPAGE
Lloh4:
	ldr	x8, [x8, _xpc_chan@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ldp	w4, w3, [x19, #4]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_dbg
	ldr	x0, [x19, #48]
	bl	_kfree
	str	xzr, [x19, #40]
	ldr	x0, [x19, #32]
	bl	_kfree
	str	xzr, [x19, #24]
	ldr	x0, [x19, #16]
	bl	_kfree
	str	xzr, [x19, #16]
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_XPC_C_SETUP,4,2                ; @XPC_C_SETUP
	.comm	_xpc_chan,4,2                   ; @xpc_chan
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ch->flags=0x%x, partid=%d, channel=%d\n"

	.no_dead_strip	_xpc_teardown_msg_structures_sn2
.subsections_via_symbols
