	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_physical_Login                 ## -- Begin function physical_Login
	.p2align	4, 0x90
_physical_Login:                        ## @physical_Login
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rax
	movq	_PHYS_DIRECT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_12
## %bb.1:
	movq	%rdi, %rbx
	movq	16(%rdi), %rax
	cmpb	$0, (%rax)
	je	LBB0_12
## %bb.2:
	cmpl	$0, 8(%rbx)
	jne	LBB0_12
## %bb.3:
	movq	%rsi, %r14
	leaq	-48(%rbp), %rdi
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	movq	_USER_PROCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -28(%rbp)
	leaq	-32(%rbp), %rdi
	xorl	%esi, %esi
	callq	_gettimeofday
	movl	-36(%rbp), %r15d
	xorl	%eax, %eax
	callq	_getpid
	leaq	L_.str(%rip), %rdx
	movl	%r15d, %edi
	movl	$4, %esi
	movl	%eax, %ecx
	callq	_snprintf
	movl	-40(%rbp), %edi
	movq	%r14, %rsi
	movl	$4, %edx
	callq	_strncpy
	movq	24(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_8
## %bb.4:
	movq	(%rax), %rax
	movq	_TCP_DEVICE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_6
## %bb.5:
	movq	_UDP_DEVICE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_6
LBB0_8:
	movl	-44(%rbp), %edi
	movq	16(%rbx), %rsi
	movl	$4, %edx
	callq	_strncpy
	jmp	LBB0_9
LBB0_6:
	movl	-48(%rbp), %edi
	movq	16(%rbx), %rsi
	movl	$4, %edx
	callq	_strncpy
	movl	-48(%rbp), %edi
	movl	$58, %esi
	movl	$4, %edx
	callq	_memchr
	testq	%rax, %rax
	je	LBB0_9
## %bb.7:
	movb	$0, (%rax)
LBB0_9:
	leaq	L_.str.1(%rip), %rdi
	callq	_getenv
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	movl	-48(%rbp), %edi
	movq	%rax, %rsi
	movl	$4, %edx
	callq	_strncpy
LBB0_11:
	leaq	-48(%rbp), %rdi
	callq	_ID0login
	movl	$1, 8(%rbx)
LBB0_12:
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PHYS_DIRECT,8,3                ## @PHYS_DIRECT
	.comm	_USER_PROCESS,4,2               ## @USER_PROCESS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%xppp"

	.comm	_TCP_DEVICE,8,3                 ## @TCP_DEVICE
	.comm	_UDP_DEVICE,8,3                 ## @UDP_DEVICE
L_.str.1:                               ## @.str.1
	.asciz	"CONNECT"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_physical_Login                 ; -- Begin function physical_Login
	.p2align	2
_physical_Login:                        ; @physical_Login
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _PHYS_DIRECT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PHYS_DIRECT@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_11
; %bb.1:
	mov	x19, x0
	ldr	x8, [x0, #16]
	ldrb	w8, [x8]
	cbz	w8, LBB0_11
; %bb.2:
	ldr	w8, [x19, #8]
	cbnz	w8, LBB0_11
; %bb.3:
	mov	x20, x1
	add	x21, sp, #8
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #24
	bl	_memset
Lloh3:
	adrp	x8, _USER_PROCESS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _USER_PROCESS@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [sp, #28]
	add	x0, x21, #16
	mov	x1, #0
	bl	_gettimeofday
	ldr	w21, [sp, #20]
	bl	_getpid
	mov	x3, x0
Lloh6:
	adrp	x2, l_.str@PAGE
Lloh7:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x21
	mov	w1, #4
                                        ; kill: def $w3 killed $w3 killed $x3
	bl	_snprintf
	ldr	w0, [sp, #16]
	mov	x1, x20
	mov	w2, #4
	bl	_strncpy
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_7
; %bb.4:
	ldr	x8, [x8]
Lloh8:
	adrp	x9, _TCP_DEVICE@GOTPAGE
Lloh9:
	ldr	x9, [x9, _TCP_DEVICE@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
Lloh11:
	adrp	x10, _UDP_DEVICE@GOTPAGE
Lloh12:
	ldr	x10, [x10, _UDP_DEVICE@GOTPAGEOFF]
Lloh13:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_7
; %bb.5:
	ldr	w0, [sp, #8]
	ldr	x1, [x19, #16]
	mov	w2, #4
	bl	_strncpy
	ldr	w0, [sp, #8]
	mov	w1, #58
	mov	w2, #4
	bl	_memchr
	cbz	x0, LBB0_8
; %bb.6:
	strb	wzr, [x0]
	b	LBB0_8
LBB0_7:
	ldr	w0, [sp, #12]
	ldr	x1, [x19, #16]
	mov	w2, #4
	bl	_strncpy
LBB0_8:
Lloh14:
	adrp	x0, l_.str.1@PAGE
Lloh15:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_getenv
	cbz	x0, LBB0_10
; %bb.9:
	mov	x1, x0
	ldr	w0, [sp, #8]
	mov	w2, #4
	bl	_strncpy
LBB0_10:
	add	x0, sp, #8
	bl	_ID0login
	mov	w8, #1
	str	w8, [x19, #8]
LBB0_11:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_PHYS_DIRECT,8,3                ; @PHYS_DIRECT
	.comm	_USER_PROCESS,4,2               ; @USER_PROCESS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%xppp"

	.comm	_TCP_DEVICE,8,3                 ; @TCP_DEVICE
	.comm	_UDP_DEVICE,8,3                 ; @UDP_DEVICE
l_.str.1:                               ; @.str.1
	.asciz	"CONNECT"

.subsections_via_symbols
