	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_etm_set_default                ## -- Begin function etm_set_default
	.p2align	4, 0x90
_etm_set_default:                       ## @etm_set_default
	.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
	xorl	%edi, %edi
	testq	%rbx, %rbx
	sete	%dil
	callq	_WARN_ON_ONCE
	testq	%rax, %rax
	jne	LBB0_9
## %bb.1:
	movl	$24, %edi
	callq	_BIT
	movl	%eax, 136(%rbx)
	movl	$0, (%rbx)
	movq	_ETM_HARD_WIRE_RES_A@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	_ETM_DEFAULT_EVENT_VAL@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	%rdx, 128(%rbx)
	movq	%rcx, 120(%rbx)
	movq	%rdx, 112(%rbx)
	movq	%rdx, 104(%rbx)
	movq	%rdx, 96(%rbx)
	movq	%rdx, 88(%rbx)
	movq	%rdx, 80(%rbx)
	movq	%rdx, 72(%rbx)
	movq	%rdx, 64(%rbx)
	movq	_ETM_MAX_CNTR@GOTPCREL(%rip), %rcx
	cmpl	$0, (%rcx)
	jle	LBB0_5
## %bb.2:
	movl	$1, %esi
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rbx), %rdi
	movl	$0, -4(%rdi,%rsi,4)
	movq	56(%rbx), %rdi
	movq	%rdx, -8(%rdi,%rsi,8)
	movq	(%rax), %rdx
	movq	48(%rbx), %rdi
	movq	%rdx, -8(%rdi,%rsi,8)
	movq	16(%rbx), %rdx
	movl	$0, -4(%rdx,%rsi,4)
	movslq	(%rcx), %rdx
	cmpq	%rdx, %rsi
	jge	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	(%rax), %rdx
	incq	%rsi
	jmp	LBB0_3
LBB0_5:
	movq	$0, 24(%rbx)
	movq	_ETM_MAX_CTXID_CMP@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_8
## %bb.6:
	movq	32(%rbx), %rcx
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movl	$0, (%rcx,%rdx,4)
	incq	%rdx
	movslq	(%rax), %rsi
	cmpq	%rsi, %rdx
	jl	LBB0_7
LBB0_8:
	movabsq	$4398046511104, %rax            ## imm = 0x40000000000
	movq	%rax, 40(%rbx)
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ETM_HARD_WIRE_RES_A,8,3        ## @ETM_HARD_WIRE_RES_A
	.comm	_ETM_DEFAULT_EVENT_VAL,8,3      ## @ETM_DEFAULT_EVENT_VAL
	.comm	_ETM_MAX_CNTR,4,2               ## @ETM_MAX_CNTR
	.comm	_ETM_MAX_CTXID_CMP,4,2          ## @ETM_MAX_CTXID_CMP
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function etm_set_default
lCPI0_0:
	.long	0                               ; 0x0
	.long	1024                            ; 0x400
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_etm_set_default
	.p2align	2
_etm_set_default:                       ; @etm_set_default
	.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
	cmp	x0, #0
	cset	w0, eq
	bl	_WARN_ON_ONCE
	cbnz	x0, LBB0_9
; %bb.1:
	mov	w0, #24
	bl	_BIT
	str	w0, [x19, #136]
Lloh0:
	adrp	x8, _ETM_HARD_WIRE_RES_A@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ETM_HARD_WIRE_RES_A@GOTPAGEOFF]
	str	wzr, [x19]
Lloh2:
	ldr	x9, [x8]
Lloh3:
	adrp	x8, _ETM_DEFAULT_EVENT_VAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ETM_DEFAULT_EVENT_VAL@GOTPAGEOFF]
	ldr	x10, [x8]
	stp	x9, x10, [x19, #120]
	stp	x10, x10, [x19, #104]
	stp	x10, x10, [x19, #88]
	stp	x10, x10, [x19, #72]
	str	x10, [x19, #64]
Lloh5:
	adrp	x9, _ETM_MAX_CNTR@GOTPAGE
Lloh6:
	ldr	x9, [x9, _ETM_MAX_CNTR@GOTPAGEOFF]
	ldr	w11, [x9]
	cmp	w11, #1
	b.lt	LBB0_5
; %bb.2:
	ldr	x11, [x19, #8]
	str	wzr, [x11]
	ldr	x11, [x19, #56]
	str	x10, [x11]
	ldr	x10, [x8]
	ldr	x11, [x19, #48]
	str	x10, [x11]
	ldr	x10, [x19, #16]
	str	wzr, [x10]
	ldr	w10, [x9]
	cmp	w10, #1
	b.le	LBB0_5
; %bb.3:
	mov	w10, #1
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x8]
	ldr	x12, [x19, #8]
	lsl	x13, x10, #2
	str	wzr, [x12, x13]
	ldr	x12, [x19, #56]
	lsl	x14, x10, #3
	str	x11, [x12, x14]
	ldr	x11, [x8]
	ldr	x12, [x19, #48]
	str	x11, [x12, x14]
	ldr	x11, [x19, #16]
	str	wzr, [x11, x13]
	add	x10, x10, #1
	ldrsw	x11, [x9]
	cmp	x10, x11
	b.lt	LBB0_4
LBB0_5:
	str	xzr, [x19, #24]
Lloh7:
	adrp	x8, _ETM_MAX_CTXID_CMP@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ETM_MAX_CTXID_CMP@GOTPAGEOFF]
	ldr	w9, [x8]
	cmp	w9, #1
	b.lt	LBB0_8
; %bb.6:
	mov	x9, #0
	ldr	x10, [x19, #32]
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	str	wzr, [x10, x9, lsl #2]
	add	x9, x9, #1
	ldrsw	x11, [x8]
	cmp	x9, x11
	b.lt	LBB0_7
LBB0_8:
Lloh9:
	adrp	x8, lCPI0_0@PAGE
Lloh10:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [x19, #40]
LBB0_9:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdr	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_ETM_HARD_WIRE_RES_A,8,3        ; @ETM_HARD_WIRE_RES_A
	.comm	_ETM_DEFAULT_EVENT_VAL,8,3      ; @ETM_DEFAULT_EVENT_VAL
	.comm	_ETM_MAX_CNTR,4,2               ; @ETM_MAX_CNTR
	.comm	_ETM_MAX_CTXID_CMP,4,2          ; @ETM_MAX_CTXID_CMP
.subsections_via_symbols
