	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iucv_path_connect              ## -- Begin function iucv_path_connect
	.p2align	4, 0x90
_iucv_path_connect:                     ## @iucv_path_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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -56(%rbp)                  ## 8-byte Spill
	movq	%r8, %r14
	movq	%rcx, %r13
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	_iucv_table_lock@GOTPCREL(%rip), %rdi
	callq	_spin_lock_bh
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	callq	_iucv_cleanup_queue
	movq	_iucv_buffer_cpumask@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpus_empty
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_EIO@GOTPCREL(%rip), %rax
LBB0_12:
	subl	(%rax), %r12d
	jmp	LBB0_13
LBB0_2:
	movq	%r13, %r12
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	_iucv_param@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	xorl	%eax, %eax
	callq	_smp_processor_id
	movq	(%rbx,%rax,8), %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$32, %edx
	callq	_memset
	movl	36(%r15), %eax
	movl	%eax, 12(%rbx)
	movl	32(%r15), %eax
	movl	%eax, 8(%rbx)
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	testq	%rsi, %rsi
	je	LBB0_4
## %bb.3:
	movl	24(%rbx), %edi
	movl	$4, %edx
	callq	_memcpy
	movl	24(%rbx), %edi
	movl	$4, %esi
	callq	_ASCEBC
	movl	24(%rbx), %edi
	movl	$4, %esi
	callq	_EBC_TOUPPER
LBB0_4:
	testq	%r12, %r12
	je	LBB0_6
## %bb.5:
	movq	%r12, %rsi
	movl	20(%rbx), %edi
	movl	$4, %edx
	callq	_memcpy
	movl	20(%rbx), %edi
	movl	$4, %esi
	callq	_ASCEBC
	movl	20(%rbx), %edi
	movl	$4, %esi
	callq	_EBC_TOUPPER
LBB0_6:
	testq	%r14, %r14
	je	LBB0_8
## %bb.7:
	movl	16(%rbx), %edi
	movq	%r14, %rsi
	movl	$4, %edx
	callq	_memcpy
LBB0_8:
	movq	_IUCV_CONNECT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_iucv_call_b2f0
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_13
## %bb.9:
	movq	(%rbx), %rdi
	movq	_iucv_max_pathid@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdi
	jge	LBB0_11
## %bb.10:
	movq	%rdi, (%r15)
	movl	12(%rbx), %eax
	movl	%eax, 36(%r15)
	movl	8(%rbx), %eax
	movl	%eax, 32(%r15)
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	%rsi, 24(%r15)
	movq	%r13, 16(%r15)
	leaq	8(%r15), %rdi
	callq	_list_add_tail
	movq	_iucv_path_table@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r15), %rcx
	movq	%r15, (%rax,%rcx,8)
	xorl	%r12d, %r12d
LBB0_13:
	movq	_iucv_table_lock@GOTPCREL(%rip), %rdi
	callq	_spin_unlock_bh
	movl	%r12d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	movq	_iucv_error_pathid@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_iucv_sever_pathid
	movq	_EIO@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.comm	_iucv_table_lock,4,2            ## @iucv_table_lock
	.comm	_iucv_buffer_cpumask,4,2        ## @iucv_buffer_cpumask
	.comm	_EIO,4,2                        ## @EIO
	.comm	_iucv_param,8,3                 ## @iucv_param
	.comm	_IUCV_CONNECT,4,2               ## @IUCV_CONNECT
	.comm	_iucv_max_pathid,8,3            ## @iucv_max_pathid
	.comm	_iucv_path_table,8,3            ## @iucv_path_table
	.comm	_iucv_error_pathid,4,2          ## @iucv_error_pathid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iucv_path_connect              ; -- Begin function iucv_path_connect
	.p2align	2
_iucv_path_connect:                     ; @iucv_path_connect
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x21, x5
	mov	x23, x4
	mov	x24, x3
	mov	x25, x2
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x0, _iucv_table_lock@GOTPAGE
Lloh1:
	ldr	x0, [x0, _iucv_table_lock@GOTPAGEOFF]
	bl	_spin_lock_bh
	bl	_iucv_cleanup_queue
Lloh2:
	adrp	x8, _iucv_buffer_cpumask@GOTPAGE
Lloh3:
	ldr	x8, [x8, _iucv_buffer_cpumask@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	bl	_cpus_empty
	cbz	x0, LBB0_2
LBB0_1:
Lloh5:
	adrp	x8, _EIO@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w23, w8
	b	LBB0_11
LBB0_2:
Lloh8:
	adrp	x8, _iucv_param@GOTPAGE
Lloh9:
	ldr	x8, [x8, _iucv_param@GOTPAGEOFF]
Lloh10:
	ldr	x22, [x8]
	bl	_smp_processor_id
	ldr	x22, [x22, x0, lsl #3]
	mov	x0, x22
	mov	w1, #0
	mov	w2, #32
	bl	_memset
	ldr	w8, [x19, #36]
	str	w8, [x22, #12]
	ldr	w8, [x19, #32]
	str	w8, [x22, #8]
	cbz	x25, LBB0_4
; %bb.3:
	ldr	w0, [x22, #24]
	mov	x1, x25
	mov	w2, #4
	bl	_memcpy
	ldr	w0, [x22, #24]
	mov	w1, #4
	bl	_ASCEBC
	ldr	w0, [x22, #24]
	mov	w1, #4
	bl	_EBC_TOUPPER
LBB0_4:
	cbz	x24, LBB0_6
; %bb.5:
	ldr	w0, [x22, #20]
	mov	x1, x24
	mov	w2, #4
	bl	_memcpy
	ldr	w0, [x22, #20]
	mov	w1, #4
	bl	_ASCEBC
	ldr	w0, [x22, #20]
	mov	w1, #4
	bl	_EBC_TOUPPER
LBB0_6:
	cbz	x23, LBB0_8
; %bb.7:
	ldr	w0, [x22, #16]
	mov	x1, x23
	mov	w2, #4
	bl	_memcpy
LBB0_8:
Lloh11:
	adrp	x8, _IUCV_CONNECT@GOTPAGE
Lloh12:
	ldr	x8, [x8, _IUCV_CONNECT@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	mov	x1, x22
	bl	_iucv_call_b2f0
	mov	x23, x0
	cbnz	w0, LBB0_11
; %bb.9:
	ldr	x0, [x22]
Lloh14:
	adrp	x8, _iucv_max_pathid@GOTPAGE
Lloh15:
	ldr	x8, [x8, _iucv_max_pathid@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ge	LBB0_12
; %bb.10:
	str	x0, [x19]
	ldr	w8, [x22, #12]
	str	w8, [x19, #36]
	ldr	w8, [x22, #8]
	str	w8, [x19, #32]
	stp	x21, x20, [x19, #16]
	add	x0, x19, #8
	mov	x1, x20
	bl	_list_add_tail
	mov	w23, #0
Lloh17:
	adrp	x8, _iucv_path_table@GOTPAGE
Lloh18:
	ldr	x8, [x8, _iucv_path_table@GOTPAGEOFF]
Lloh19:
	ldr	x8, [x8]
	ldr	x9, [x19]
	str	x19, [x8, x9, lsl #3]
LBB0_11:
Lloh20:
	adrp	x0, _iucv_table_lock@GOTPAGE
Lloh21:
	ldr	x0, [x0, _iucv_table_lock@GOTPAGEOFF]
	bl	_spin_unlock_bh
	mov	x0, x23
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_12:
Lloh22:
	adrp	x8, _iucv_error_pathid@GOTPAGE
Lloh23:
	ldr	x8, [x8, _iucv_error_pathid@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
	bl	_iucv_sever_pathid
	b	LBB0_1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_iucv_table_lock,4,2            ; @iucv_table_lock
	.comm	_iucv_buffer_cpumask,4,2        ; @iucv_buffer_cpumask
	.comm	_EIO,4,2                        ; @EIO
	.comm	_iucv_param,8,3                 ; @iucv_param
	.comm	_IUCV_CONNECT,4,2               ; @IUCV_CONNECT
	.comm	_iucv_max_pathid,8,3            ; @iucv_max_pathid
	.comm	_iucv_path_table,8,3            ; @iucv_path_table
	.comm	_iucv_error_pathid,4,2          ; @iucv_error_pathid
.subsections_via_symbols
