	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dl_connect                     ## -- Begin function dl_connect
	.p2align	4, 0x90
_dl_connect:                            ## @dl_connect
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_USBMUXD_FILE_PATH@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	leaq	-16(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_stat
	testq	%rax, %rax
	jne	LBB0_4
## %bb.1:
	movl	-16(%rbp), %edi
	callq	_S_ISSOCK
	testl	%eax, %eax
	je	LBB0_4
## %bb.2:
	movq	_PF_LOCAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SOCK_STREAM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_socket
	testl	%eax, %eax
	jns	LBB0_3
LBB0_4:
	movl	$-1, %eax
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_3:
	movq	%rbx, %rdi
	callq	_dl_connect.cold.1
	xorl	%eax, %eax
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.p2align	4, 0x90                         ## -- Begin function dl_connect.cold.1
_dl_connect.cold.1:                     ## @dl_connect.cold.1
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	$8
	popq	%rdx
	movq	%rdi, %rsi
	callq	_strncpy
	ud2
	.cfi_endproc
                                        ## -- End function
	.comm	_USBMUXD_FILE_PATH,8,3          ## @USBMUXD_FILE_PATH
	.comm	_PF_LOCAL,4,2                   ## @PF_LOCAL
	.comm	_SOCK_STREAM,4,2                ## @SOCK_STREAM
	.comm	_AF_LOCAL,4,2                   ## @AF_LOCAL
	.comm	_F_GETFL,4,2                    ## @F_GETFL
	.comm	_F_SETFL,4,2                    ## @F_SETFL
	.comm	_O_NONBLOCK,4,2                 ## @O_NONBLOCK
	.comm	_SOL_SOCKET,4,2                 ## @SOL_SOCKET
	.comm	_SO_RCVTIMEO,4,2                ## @SO_RCVTIMEO
	.comm	_AF_INET,4,2                    ## @AF_INET
	.comm	_FIONBIO,4,2                    ## @FIONBIO
	.comm	_INVALID_SOCKET,4,2             ## @INVALID_SOCKET
	.comm	_IPPROTO_TCP,4,2                ## @IPPROTO_TCP
	.comm	_SOCKET_ERROR,8,3               ## @SOCKET_ERROR
	.comm	_USBMUXD_SOCKET_PORT,4,2        ## @USBMUXD_SOCKET_PORT
	.comm	_stderr,4,2                     ## @stderr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dl_connect                     ; -- Begin function dl_connect
	.p2align	2
_dl_connect:                            ; @dl_connect
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
Lloh0:
	adrp	x8, _USBMUXD_FILE_PATH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _USBMUXD_FILE_PATH@GOTPAGEOFF]
Lloh2:
	ldr	x19, [x8]
	add	x1, sp, #8
	mov	x0, x19
	bl	_stat
	cbnz	x0, LBB0_3
; %bb.1:
	ldr	w0, [sp, #8]
	bl	_S_ISSOCK
	cbz	w0, LBB0_3
; %bb.2:
Lloh3:
	adrp	x8, _PF_LOCAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PF_LOCAL@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x8, _SOCK_STREAM@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SOCK_STREAM@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_socket
	tbz	w0, #31, LBB0_4
LBB0_3:
	mov	w0, #-1
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_4:
	mov	x0, x19
	bl	_dl_connect.cold.1
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.p2align	2                               ; -- Begin function dl_connect.cold.1
_dl_connect.cold.1:                     ; @dl_connect.cold.1
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	mov	x1, x0
	mov	w2, #8
	bl	_strncpy
	brk	#0x1
	.cfi_endproc
                                        ; -- End function
	.comm	_USBMUXD_FILE_PATH,8,3          ; @USBMUXD_FILE_PATH
	.comm	_PF_LOCAL,4,2                   ; @PF_LOCAL
	.comm	_SOCK_STREAM,4,2                ; @SOCK_STREAM
	.comm	_AF_LOCAL,4,2                   ; @AF_LOCAL
	.comm	_F_GETFL,4,2                    ; @F_GETFL
	.comm	_F_SETFL,4,2                    ; @F_SETFL
	.comm	_O_NONBLOCK,4,2                 ; @O_NONBLOCK
	.comm	_SOL_SOCKET,4,2                 ; @SOL_SOCKET
	.comm	_SO_RCVTIMEO,4,2                ; @SO_RCVTIMEO
	.comm	_AF_INET,4,2                    ; @AF_INET
	.comm	_FIONBIO,4,2                    ; @FIONBIO
	.comm	_INVALID_SOCKET,4,2             ; @INVALID_SOCKET
	.comm	_IPPROTO_TCP,4,2                ; @IPPROTO_TCP
	.comm	_SOCKET_ERROR,8,3               ; @SOCKET_ERROR
	.comm	_USBMUXD_SOCKET_PORT,4,2        ; @USBMUXD_SOCKET_PORT
	.comm	_stderr,4,2                     ; @stderr
.subsections_via_symbols
