	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function win32_browser
_win32_browser:                         ## @win32_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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	movl	$32856, %eax                    ## imm = 0x8058
	callq	____chkstk_darwin
	subq	%rax, %rsp
	popq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -32856(%rbp)               ## 8-byte Spill
	movq	%r8, %r15
	movq	%rcx, -32848(%rbp)              ## 8-byte Spill
	movq	%rdx, %rbx
	movq	%rsi, %r13
	movl	%edi, -32820(%rbp)              ## 4-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	callq	_ui_companion_driver_get_browser_window_ptr
	testq	%rax, %rax
	je	LBB0_10
## %bb.1:
	movq	%rax, %r14
	movq	%rbx, -32832(%rbp)              ## 8-byte Spill
	movq	%rsp, -32840(%rbp)              ## 8-byte Spill
	movq	_PATH_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	%r12, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rbx
	movb	$0, (%rbx)
	movb	$0, -32816(%rbp)
	movq	%r15, %rdi
	callq	_string_is_empty
	testl	%eax, %eax
	jne	LBB0_3
## %bb.2:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	callq	_strlcpy
LBB0_3:
	testq	%r13, %r13
	je	LBB0_6
## %bb.4:
	cmpb	$0, (%r13)
	je	LBB0_6
## %bb.5:
	leaq	-32816(%rbp), %rdi
	movl	$32768, %edx                    ## imm = 0x8000
	movq	%r13, %rsi
	callq	_strlcpy
LBB0_6:
	movq	-32848(%rbp), %rax              ## 8-byte Reload
	movq	%rax, -32888(%rbp)
	movq	%rbx, -32880(%rbp)
	movq	-32856(%rbp), %rdi              ## 8-byte Reload
	callq	_strdup
	movl	%eax, -32864(%rbp)
	leaq	-32816(%rbp), %rax
	movq	%rax, -32872(%rbp)
	movl	-32820(%rbp), %eax              ## 4-byte Reload
	movl	%eax, -32860(%rbp)
	leaq	-32888(%rbp), %rdi
	callq	*(%r14)
	movl	%eax, %r12d
	testq	%r13, %r13
	je	LBB0_9
## %bb.7:
	movq	-32872(%rbp), %rsi
	testq	%rsi, %rsi
	je	LBB0_9
## %bb.8:
	movq	%r13, %rdi
	movq	-32832(%rbp), %rdx              ## 8-byte Reload
	callq	_strlcpy
LBB0_9:
	movl	-32864(%rbp), %edi
	callq	_free
	movq	-32840(%rbp), %rsp              ## 8-byte Reload
LBB0_10:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_12
## %bb.11:
	movl	%r12d, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_PATH_MAX,4,2                   ## @PATH_MAX
	.no_dead_strip	_win32_browser
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function win32_browser
_win32_browser:                         ; @win32_browser
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	w9, #32832
Lloh0:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh1:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	sub	sp, sp, #8, lsl #12             ; =32768
	sub	sp, sp, #64
	mov	x19, sp
	mov	x23, x5
	mov	x27, x4
	mov	x25, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
Lloh2:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh3:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
	bl	_ui_companion_driver_get_browser_window_ptr
	cbz	x0, LBB0_10
; %bb.1:
	mov	x24, x0
	mov	x8, sp
	str	x8, [x19, #8]                   ; 8-byte Folded Spill
Lloh5:
	adrp	x8, _PATH_MAX@GOTPAGE
Lloh6:
	ldr	x8, [x8, _PATH_MAX@GOTPAGEOFF]
Lloh7:
	ldr	w28, [x8]
	mov	x9, x28
Lloh8:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh9:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x28, #15
	and	x9, x9, #0x1fffffff0
	sub	x26, x8, x9
	mov	sp, x26
	strb	wzr, [x26]
	strb	wzr, [x19, #48]
	mov	x0, x27
	bl	_string_is_empty
	cbnz	w0, LBB0_3
; %bb.2:
	mov	x0, x26
	mov	x1, x27
	mov	x2, x28
	bl	_strlcpy
LBB0_3:
	cbz	x21, LBB0_6
; %bb.4:
	ldrb	w8, [x21]
	cbz	w8, LBB0_6
; %bb.5:
	add	x0, x19, #48
	mov	x1, x21
	mov	w2, #32768
	bl	_strlcpy
LBB0_6:
	stp	x25, x26, [x19, #16]
	mov	x0, x23
	bl	_strdup
	add	x8, x19, #48
	str	x8, [x19, #32]
	stp	w0, w22, [x19, #40]
	ldr	x8, [x24]
	add	x0, x19, #16
	blr	x8
	mov	x22, x0
	cbz	x21, LBB0_9
; %bb.7:
	ldr	x1, [x19, #32]
	cbz	x1, LBB0_9
; %bb.8:
	mov	x0, x21
	mov	x2, x20
	bl	_strlcpy
LBB0_9:
	ldr	w0, [x19, #40]
	bl	_free
	ldr	x8, [x19, #8]                   ; 8-byte Folded Reload
	mov	sp, x8
	b	LBB0_11
LBB0_10:
	mov	w22, #0
LBB0_11:
	ldur	x8, [x29, #-96]
Lloh10:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh11:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_13
; %bb.12:
	mov	x0, x22
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_13:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_PATH_MAX,4,2                   ; @PATH_MAX
	.no_dead_strip	_win32_browser
.subsections_via_symbols
