	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function thread_db_enable_reporting
_thread_db_enable_reporting:            ## @thread_db_enable_reporting
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	leaq	-36(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_td_event_emptyset
	movq	_TD_CREATE@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_td_event_addset
	movq	_thread_agent@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movq	%rbx, %rsi
	callq	_td_ta_set_event
	movq	_TD_OK@GOTPCREL(%rip), %rbx
	cmpq	(%rbx), %rax
	jne	LBB0_1
## %bb.3:
	movl	(%r15), %edi
	movl	(%r14), %esi
	leaq	-32(%rbp), %rdx
	callq	_td_ta_event_addr
	cmpq	(%rbx), %rax
	jne	LBB0_4
## %bb.5:
	movl	-32(%rbp), %edi
	movq	_thread_db_create_event@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_set_breakpoint_at
	movl	$1, %eax
	jmp	LBB0_6
LBB0_1:
	movq	%rax, %rdi
	callq	_thread_db_err_str
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_2
LBB0_4:
	movq	%rax, %rdi
	callq	_thread_db_err_str
	leaq	L_.str.1(%rip), %rdi
LBB0_2:
	movl	%eax, %esi
	callq	_warning
	xorl	%eax, %eax
LBB0_6:
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TD_CREATE,4,2                  ## @TD_CREATE
	.comm	_thread_agent,4,2               ## @thread_agent
	.comm	_TD_OK,8,3                      ## @TD_OK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unable to set global thread event mask: %s"

L_.str.1:                               ## @.str.1
	.asciz	"Unable to get location for thread creation breakpoint: %s"

	.comm	_thread_db_create_event,4,2     ## @thread_db_create_event
	.comm	_TD_DEATH,4,2                   ## @TD_DEATH
	.comm	_thread_db_death_event,4,2      ## @thread_db_death_event
	.no_dead_strip	_thread_db_enable_reporting
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function thread_db_enable_reporting
_thread_db_enable_reporting:            ; @thread_db_enable_reporting
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	add	x0, sp, #12
	bl	_td_event_emptyset
Lloh0:
	adrp	x19, _TD_CREATE@GOTPAGE
Lloh1:
	ldr	x19, [x19, _TD_CREATE@GOTPAGEOFF]
	ldr	w1, [x19]
	add	x0, sp, #12
	bl	_td_event_addset
Lloh2:
	adrp	x21, _thread_agent@GOTPAGE
Lloh3:
	ldr	x21, [x21, _thread_agent@GOTPAGEOFF]
	ldr	w0, [x21]
	add	x1, sp, #12
	bl	_td_ta_set_event
Lloh4:
	adrp	x20, _TD_OK@GOTPAGE
Lloh5:
	ldr	x20, [x20, _TD_OK@GOTPAGEOFF]
	ldr	x8, [x20]
	cmp	x0, x8
	b.ne	LBB0_3
; %bb.1:
	ldr	w0, [x21]
	ldr	w1, [x19]
	mov	x2, sp
	bl	_td_ta_event_addr
	ldr	x8, [x20]
	cmp	x0, x8
	b.ne	LBB0_4
; %bb.2:
	ldr	w0, [sp]
Lloh6:
	adrp	x8, _thread_db_create_event@GOTPAGE
Lloh7:
	ldr	x8, [x8, _thread_db_create_event@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_set_breakpoint_at
	mov	w0, #1
	b	LBB0_6
LBB0_3:
	bl	_thread_db_err_str
	mov	x1, x0
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_5
LBB0_4:
	bl	_thread_db_err_str
	mov	x1, x0
Lloh11:
	adrp	x0, l_.str.1@PAGE
Lloh12:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_5:
	bl	_warning
	mov	w0, #0
LBB0_6:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_TD_CREATE,4,2                  ; @TD_CREATE
	.comm	_thread_agent,4,2               ; @thread_agent
	.comm	_TD_OK,8,3                      ; @TD_OK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unable to set global thread event mask: %s"

l_.str.1:                               ; @.str.1
	.asciz	"Unable to get location for thread creation breakpoint: %s"

	.comm	_thread_db_create_event,4,2     ; @thread_db_create_event
	.comm	_TD_DEATH,4,2                   ; @TD_DEATH
	.comm	_thread_db_death_event,4,2      ; @thread_db_death_event
	.no_dead_strip	_thread_db_enable_reporting
.subsections_via_symbols
