	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function setup_trace_category
_setup_trace_category:                  ## @setup_trace_category
	.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
	movl	%edi, %r15d
	callq	_OSSL_trace_enabled
	testq	%rax, %rax
	je	LBB0_1
LBB0_5:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	xorl	%eax, %eax
	callq	_apps_bf_prefix
	movl	%eax, %edi
	callq	_BIO_new
	movl	%eax, %ebx
	movq	_stderr@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	movq	_BIO_NOCLOSE@GOTPCREL(%rip), %rax
	movq	_BIO_FP_TEXT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	callq	_BIO_new_fp
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_BIO_push
	movq	%rax, %r14
	movl	$8, %edi
	callq	_OPENSSL_zalloc
	testq	%rax, %rax
	je	LBB0_6
## %bb.2:
	movq	%rax, %rbx
	movq	%r14, (%rax)
	testq	%r14, %r14
	je	LBB0_6
## %bb.3:
	movq	_internal_trace_cb@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movl	%r15d, %edi
	movq	%rbx, %rdx
	callq	_OSSL_trace_set_callback
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	movq	_trace_data_stack@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_sk_tracedata_push
	testq	%rax, %rax
	jne	LBB0_5
LBB0_6:
	movl	(%r12), %ebx
	movl	%r15d, %edi
	callq	_OSSL_trace_get_category_name
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edi
	movq	%rax, %rdx
	callq	_fprintf
	movl	%r15d, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_OSSL_trace_set_callback
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_BIO_free_all                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_stderr,4,2                     ## @stderr
	.comm	_BIO_NOCLOSE,4,2                ## @BIO_NOCLOSE
	.comm	_BIO_FP_TEXT,4,2                ## @BIO_FP_TEXT
	.comm	_internal_trace_cb,8,3          ## @internal_trace_cb
	.comm	_trace_data_stack,4,2           ## @trace_data_stack
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"warning: unable to setup trace callback for category '%s'.\n"

	.no_dead_strip	_setup_trace_category
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function setup_trace_category
_setup_trace_category:                  ; @setup_trace_category
	.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
	mov	x19, x0
	bl	_OSSL_trace_enabled
	cbz	x0, LBB0_2
LBB0_1:
	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_2:
	bl	_apps_bf_prefix
	bl	_BIO_new
	mov	x20, x0
Lloh0:
	adrp	x22, _stderr@GOTPAGE
Lloh1:
	ldr	x22, [x22, _stderr@GOTPAGEOFF]
Lloh2:
	adrp	x8, _BIO_NOCLOSE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _BIO_NOCLOSE@GOTPAGEOFF]
	ldr	w0, [x22]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _BIO_FP_TEXT@GOTPAGE
Lloh6:
	ldr	x9, [x9, _BIO_FP_TEXT@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	orr	w1, w9, w8
	bl	_BIO_new_fp
	mov	x1, x0
	mov	x0, x20
	bl	_BIO_push
	mov	x20, x0
	mov	w0, #8
	bl	_OPENSSL_zalloc
	cbz	x0, LBB0_6
; %bb.3:
	mov	x21, x0
	str	x20, [x0]
	cbz	x20, LBB0_6
; %bb.4:
Lloh8:
	adrp	x8, _internal_trace_cb@GOTPAGE
Lloh9:
	ldr	x8, [x8, _internal_trace_cb@GOTPAGEOFF]
Lloh10:
	ldr	x1, [x8]
	mov	x0, x19
	mov	x2, x21
	bl	_OSSL_trace_set_callback
	cbz	x0, LBB0_6
; %bb.5:
Lloh11:
	adrp	x8, _trace_data_stack@GOTPAGE
Lloh12:
	ldr	x8, [x8, _trace_data_stack@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	mov	x1, x21
	bl	_sk_tracedata_push
	cbnz	x0, LBB0_1
LBB0_6:
	ldr	w21, [x22]
	mov	x0, x19
	bl	_OSSL_trace_get_category_name
	mov	x2, x0
Lloh14:
	adrp	x1, l_.str@PAGE
Lloh15:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_fprintf
	mov	x0, x19
	mov	x1, #0
	mov	x2, #0
	bl	_OSSL_trace_set_callback
	mov	x0, 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	_BIO_free_all
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_stderr,4,2                     ; @stderr
	.comm	_BIO_NOCLOSE,4,2                ; @BIO_NOCLOSE
	.comm	_BIO_FP_TEXT,4,2                ; @BIO_FP_TEXT
	.comm	_internal_trace_cb,8,3          ; @internal_trace_cb
	.comm	_trace_data_stack,4,2           ; @trace_data_stack
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"warning: unable to setup trace callback for category '%s'.\n"

	.no_dead_strip	_setup_trace_category
.subsections_via_symbols
