	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_trace_init                     ## -- Begin function trace_init
	.p2align	4, 0x90
_trace_init:                            ## @trace_init
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpb	$0, _trace_init.inited(%rip)
	jne	LBB0_7
## %bb.1:
	movq	%rsi, %r15
	movl	%edi, %r14d
	movb	$1, _trace_init.inited(%rip)
	callq	_type_init
	movq	_IR@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_7
## %bb.2:
	cmpl	$2, %r14d
	jl	LBB0_7
## %bb.3:
	movl	%r14d, %r12d
	movl	$1, %ebx
	leaq	L_.str(%rip), %r14
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	incq	%rbx
	cmpq	%rbx, %r12
	je	LBB0_7
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15,%rbx,8), %rdi
	movq	%r14, %rsi
	movl	$2, %edx
	callq	_strncmp
	testq	%rax, %rax
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	(%r15,%rbx,8), %rdi
	movl	$61, %esi
	callq	_strchr
	testq	%rax, %rax
	jne	LBB0_6
## %bb.8:
	movq	_EXTERN@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	(%r15,%rbx,8), %rax
	leaq	2(%rax), %rcx
	cmpb	$0, 2(%rax)
	leaq	L_.str.1(%rip), %rbx
	cmovneq	%rcx, %rbx
	movq	_inttype@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_CONST@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_chartype@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_qual
	movl	%eax, %edi
	callq	_ptr
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	_ftype
	movl	%r14d, %edi
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	_mksymbol
	movq	%rax, %rbx
	movq	$0, (%rax)
	movq	_tracecall@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_events@GOTPCREL(%rip), %r14
	leaq	4(%r14), %rdx
	movq	%rbx, %rsi
	callq	_attach
	movq	_tracereturn@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_attach                         ## TAILCALL
LBB0_7:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_trace_init.inited,1,2 ## @trace_init.inited
	.comm	_IR,8,3                         ## @IR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"-t"

	.comm	_EXTERN,4,2                     ## @EXTERN
L_.str.1:                               ## @.str.1
	.asciz	"printf"

	.comm	_inttype,4,2                    ## @inttype
	.comm	_CONST,4,2                      ## @CONST
	.comm	_chartype,4,2                   ## @chartype
	.comm	_tracecall,8,3                  ## @tracecall
	.comm	_events,8,2                     ## @events
	.comm	_tracereturn,8,3                ## @tracereturn
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_trace_init                     ; -- Begin function trace_init
	.p2align	2
_trace_init:                            ; @trace_init
	.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
	adrp	x8, _trace_init.inited@PAGE
	ldrb	w9, [x8, _trace_init.inited@PAGEOFF]
	tbnz	w9, #0, LBB0_2
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	mov	w9, #1
	strb	w9, [x8, _trace_init.inited@PAGEOFF]
	bl	_type_init
Lloh0:
	adrp	x8, _IR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IR@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, #0
	ccmp	w20, #2, #8, ne
	b.ge	LBB0_3
LBB0_2:
	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
	ret
LBB0_3:
	mov	w8, w20
	add	x20, x19, #8
	sub	x21, x8, #1
Lloh3:
	adrp	x19, l_.str@PAGE
Lloh4:
	add	x19, x19, l_.str@PAGEOFF
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x20, x20, #8
	subs	x21, x21, #1
	b.eq	LBB0_2
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x20]
	mov	x1, x19
	mov	w2, #2
	bl	_strncmp
	cbnz	x0, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x0, [x20]
	mov	w1, #61
	bl	_strchr
	cbnz	x0, LBB0_4
; %bb.7:
Lloh5:
	adrp	x8, _EXTERN@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EXTERN@GOTPAGEOFF]
	ldr	x9, [x20]
	ldrb	w10, [x9, #2]!
Lloh7:
	adrp	x11, l_.str.1@PAGE
Lloh8:
	add	x11, x11, l_.str.1@PAGEOFF
Lloh9:
	ldr	w19, [x8]
	cmp	w10, #0
	csel	x20, x11, x9, eq
Lloh10:
	adrp	x8, _inttype@GOTPAGE
Lloh11:
	ldr	x8, [x8, _inttype@GOTPAGEOFF]
Lloh12:
	ldr	w21, [x8]
Lloh13:
	adrp	x8, _CONST@GOTPAGE
Lloh14:
	ldr	x8, [x8, _CONST@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
Lloh16:
	adrp	x8, _chartype@GOTPAGE
Lloh17:
	ldr	x8, [x8, _chartype@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	bl	_qual
	bl	_ptr
	mov	x1, x0
	mov	x0, x21
	bl	_ftype
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_mksymbol
	mov	x19, x0
	str	xzr, [x0]
Lloh19:
	adrp	x8, _tracecall@GOTPAGE
Lloh20:
	ldr	x8, [x8, _tracecall@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
Lloh22:
	adrp	x20, _events@GOTPAGE
Lloh23:
	ldr	x20, [x20, _events@GOTPAGEOFF]
	add	x2, x20, #4
	mov	x1, x19
	bl	_attach
Lloh24:
	adrp	x8, _tracereturn@GOTPAGE
Lloh25:
	ldr	x8, [x8, _tracereturn@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
	mov	x1, x19
	mov	x2, x20
	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	_attach
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh9
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_trace_init.inited,1,2 ; @trace_init.inited
	.comm	_IR,8,3                         ; @IR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"-t"

	.comm	_EXTERN,4,2                     ; @EXTERN
l_.str.1:                               ; @.str.1
	.asciz	"printf"

	.comm	_inttype,4,2                    ; @inttype
	.comm	_CONST,4,2                      ; @CONST
	.comm	_chartype,4,2                   ; @chartype
	.comm	_tracecall,8,3                  ; @tracecall
	.comm	_events,8,2                     ; @events
	.comm	_tracereturn,8,3                ; @tracereturn
.subsections_via_symbols
