	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_os
_parse_os:                              ## @parse_os
	.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
	movq	%rdx, %rax
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	_os@GOTPCREL(%rip), %r12
	movq	(%r12), %rdx
	movslq	%ecx, %rbx
	movq	(%rdx,%rbx,8), %rcx
	movq	8(%rcx), %rsi
	movq	_OPESYS_TYPE_LEN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%rax, %rdi
	callq	_xstrncpy
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_strstr
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	_conf@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_4
## %bb.2:
	movq	%r15, %rdi
	callq	_get_real_win
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	(%r12), %rax
	movq	(%rax,%rbx,8), %rax
	movq	(%rax), %rdi
	jmp	LBB0_13
LBB0_5:
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	callq	_strstr
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:
	movq	%r15, %rdi
	callq	_parse_android
	movq	_conf@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	je	LBB0_12
## %bb.7:
	movq	%rax, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_get_real_android               ## TAILCALL
LBB0_8:
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdi
	callq	_strstr
	testq	%rax, %rax
	jne	LBB0_10
## %bb.9:
	leaq	L_.str.3(%rip), %rsi
	movq	%r15, %rdi
	callq	_strstr
	testq	%rax, %rax
	je	LBB0_14
LBB0_10:
	movq	%r15, %rdi
	movl	$4, %esi
LBB0_11:
	callq	_parse_ios
LBB0_12:
	movq	%rax, %rdi
LBB0_13:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_xstrdup                        ## TAILCALL
LBB0_14:
	leaq	L_.str.4(%rip), %rsi
	movq	%r15, %rdi
	callq	_strstr
	testq	%rax, %rax
	je	LBB0_16
## %bb.15:
	movq	%r15, %rdi
	movl	$6, %esi
	jmp	LBB0_11
LBB0_16:
	leaq	L_.str.5(%rip), %rsi
	movq	%r15, %rdi
	callq	_strstr
	testq	%rax, %rax
	je	LBB0_19
## %bb.17:
	movq	%r15, %rdi
	callq	_parse_osx
	movq	_conf@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	je	LBB0_12
## %bb.18:
	movq	%rax, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_get_real_mac_osx               ## TAILCALL
LBB0_19:
	leaq	L_.str.6(%rip), %rsi
	movq	%r15, %rdi
	callq	_strstr
	testq	%rax, %rax
	je	LBB0_23
## %bb.20:
	movq	%r14, %rdi
	movl	$32, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_22
## %bb.21:
	movb	$0, (%rax)
LBB0_22:
	movq	%r14, %rdi
	jmp	LBB0_13
LBB0_23:
	movq	(%r12), %rax
	movq	(%rax,%rbx,8), %rax
	movq	(%rax), %rdi
	movl	$32, %esi
	callq	_count_matches
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_parse_others
	movl	%eax, %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_alloc_string                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_os,8,3                         ## @os
	.comm	_OPESYS_TYPE_LEN,4,2            ## @OPESYS_TYPE_LEN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Windows"

	.comm	_conf,8,3                       ## @conf
L_.str.1:                               ## @.str.1
	.asciz	"Android"

L_.str.2:                               ## @.str.2
	.asciz	"iPad"

L_.str.3:                               ## @.str.3
	.asciz	"iPod"

L_.str.4:                               ## @.str.4
	.asciz	"iPhone"

L_.str.5:                               ## @.str.5
	.asciz	"OS X"

L_.str.6:                               ## @.str.6
	.asciz	"Darwin"

	.no_dead_strip	_parse_os
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_os
_parse_os:                              ; @parse_os
	.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
                                        ; kill: def $w3 killed $w3 def $x3
	mov	x8, x2
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x21, _os@GOTPAGE
Lloh1:
	ldr	x21, [x21, _os@GOTPAGEOFF]
	ldr	x9, [x21]
	sxtw	x22, w3
	ldr	x9, [x9, w3, sxtw #3]
	ldr	x1, [x9, #8]
Lloh2:
	adrp	x9, _OPESYS_TYPE_LEN@GOTPAGE
Lloh3:
	ldr	x9, [x9, _OPESYS_TYPE_LEN@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x9]
	mov	x0, x8
	bl	_xstrncpy
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_strstr
	cbz	x0, LBB0_5
; %bb.1:
Lloh7:
	adrp	x8, _conf@GOTPAGE
Lloh8:
	ldr	x8, [x8, _conf@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	cbz	x8, LBB0_4
; %bb.2:
	mov	x0, x19
	bl	_get_real_win
	cbz	x0, LBB0_4
; %bb.3:
	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_4:
	ldr	x8, [x21]
	ldr	x8, [x8, x22, lsl #3]
	ldr	x0, [x8]
	b	LBB0_12
LBB0_5:
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_strstr
	cbz	x0, LBB0_8
; %bb.6:
	mov	x0, x19
	bl	_parse_android
Lloh12:
	adrp	x8, _conf@GOTPAGE
Lloh13:
	ldr	x8, [x8, _conf@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	cbz	x8, LBB0_12
; %bb.7:
	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	_get_real_android
LBB0_8:
Lloh15:
	adrp	x1, l_.str.2@PAGE
Lloh16:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_strstr
	cbnz	x0, LBB0_10
; %bb.9:
Lloh17:
	adrp	x1, l_.str.3@PAGE
Lloh18:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_strstr
	cbz	x0, LBB0_13
LBB0_10:
	mov	x0, x19
	mov	w1, #4
LBB0_11:
	bl	_parse_ios
LBB0_12:
	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	_xstrdup
LBB0_13:
Lloh19:
	adrp	x1, l_.str.4@PAGE
Lloh20:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_strstr
	cbz	x0, LBB0_15
; %bb.14:
	mov	x0, x19
	mov	w1, #6
	b	LBB0_11
LBB0_15:
Lloh21:
	adrp	x1, l_.str.5@PAGE
Lloh22:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
	bl	_strstr
	cbz	x0, LBB0_18
; %bb.16:
	mov	x0, x19
	bl	_parse_osx
Lloh23:
	adrp	x8, _conf@GOTPAGE
Lloh24:
	ldr	x8, [x8, _conf@GOTPAGEOFF]
Lloh25:
	ldr	x8, [x8]
	cbz	x8, LBB0_12
; %bb.17:
	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	_get_real_mac_osx
LBB0_18:
Lloh26:
	adrp	x1, l_.str.6@PAGE
Lloh27:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x19
	bl	_strstr
	cbz	x0, LBB0_22
; %bb.19:
	mov	x0, x20
	mov	w1, #32
	bl	_strchr
	cbz	x0, LBB0_21
; %bb.20:
	strb	wzr, [x0]
LBB0_21:
	mov	x0, x20
	b	LBB0_12
LBB0_22:
	ldr	x8, [x21]
	ldr	x8, [x8, x22, lsl #3]
	ldr	x0, [x8]
	mov	w1, #32
	bl	_count_matches
	mov	x1, x0
	mov	x0, x19
	bl	_parse_others
	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	_alloc_string
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_os,8,3                         ; @os
	.comm	_OPESYS_TYPE_LEN,4,2            ; @OPESYS_TYPE_LEN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Windows"

	.comm	_conf,8,3                       ; @conf
l_.str.1:                               ; @.str.1
	.asciz	"Android"

l_.str.2:                               ; @.str.2
	.asciz	"iPad"

l_.str.3:                               ; @.str.3
	.asciz	"iPod"

l_.str.4:                               ; @.str.4
	.asciz	"iPhone"

l_.str.5:                               ; @.str.5
	.asciz	"OS X"

l_.str.6:                               ; @.str.6
	.asciz	"Darwin"

	.no_dead_strip	_parse_os
.subsections_via_symbols
