	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_setup_browser                  ## -- Begin function setup_browser
	.p2align	4, 0x90
_setup_browser:                         ## @setup_browser
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edi, %ebx
	movl	$1, %edi
	callq	_isatty
	testl	%eax, %eax
	je	LBB0_7
## %bb.1:
	movq	_dump_trace@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_7
## %bb.2:
	movq	_use_browser@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	testl	%eax, %eax
	js	LBB0_6
## %bb.3:
	cmpl	$1, %eax
	je	LBB0_6
## %bb.4:
	cmpl	$2, %eax
	jne	LBB0_7
## %bb.5:
	xorl	%eax, %eax
	callq	_perf_gtk__init
	testl	%eax, %eax
	je	LBB0_10
LBB0_6:
	movl	$1, (%r14)
	xorl	%eax, %eax
	callq	_ui__init
	testl	%eax, %eax
	je	LBB0_10
LBB0_7:
	movq	_use_browser@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
	testl	%ebx, %ebx
	je	LBB0_9
## %bb.8:
	xorl	%eax, %eax
	callq	_setup_pager
LBB0_9:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_perf_hpp__init                 ## TAILCALL
LBB0_10:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_dump_trace,8,3                 ## @dump_trace
	.comm	_use_browser,4,2                ## @use_browser
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_setup_browser                  ; -- Begin function setup_browser
	.p2align	2
_setup_browser:                         ; @setup_browser
	.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
	mov	w0, #1
	bl	_isatty
Lloh0:
	adrp	x20, _use_browser@GOTPAGE
Lloh1:
	ldr	x20, [x20, _use_browser@GOTPAGEOFF]
	cbz	w0, LBB0_7
; %bb.1:
Lloh2:
	adrp	x8, _dump_trace@GOTPAGE
Lloh3:
	ldr	x8, [x8, _dump_trace@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cbnz	x8, LBB0_7
; %bb.2:
	ldr	w8, [x20]
	tbnz	w8, #31, LBB0_6
; %bb.3:
	cmp	w8, #1
	b.eq	LBB0_6
; %bb.4:
	cmp	w8, #2
	b.ne	LBB0_7
; %bb.5:
	bl	_perf_gtk__init
	cbz	w0, LBB0_10
LBB0_6:
	mov	w8, #1
	str	w8, [x20]
	bl	_ui__init
	cbz	w0, LBB0_10
LBB0_7:
	str	wzr, [x20]
	cbz	w19, LBB0_9
; %bb.8:
	bl	_setup_pager
LBB0_9:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_perf_hpp__init
LBB0_10:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_dump_trace,8,3                 ; @dump_trace
	.comm	_use_browser,4,2                ; @use_browser
.subsections_via_symbols
