	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hvc_iucv_path_pending
_hvc_iucv_path_pending:                 ## @hvc_iucv_path_pending
	.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	$152, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, -184(%rbp)                ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_hvc_iucv_devices@GOTPCREL(%rip), %r13
	movl	(%r13), %eax
	testl	%eax, %eax
	jle	LBB0_7
## %bb.1:
	movq	%rdx, %r12
	movq	%rsi, %r15
	xorl	%ebx, %ebx
	movq	_hvc_iucv_table@GOTPCREL(%rip), %r14
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	movslq	%eax, %rcx
	cmpq	%rcx, %rbx
	jge	LBB0_7
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %rcx
	movq	(%rcx,%rbx,8), %rcx
	testq	%rcx, %rcx
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	24(%rcx), %edi
	movq	%r12, %rsi
	movl	$8, %edx
	callq	_memcmp
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r13), %eax
	jmp	LBB0_5
LBB0_6:
	movq	(%r14), %rax
	movq	(%rax,%rbx,8), %rbx
	testq	%rbx, %rbx
	je	LBB0_7
## %bb.8:
	movq	_hvc_iucv_filter_lock@GOTPCREL(%rip), %r14
	movq	%r14, %rdi
	callq	_read_lock
	movq	%r15, %rdi
	callq	_hvc_iucv_filter_connreq
	movl	%eax, %r13d
	movq	%r14, %rdi
	callq	_read_unlock
	testl	%r13d, %r13d
	je	LBB0_10
## %bb.9:
	movq	-184(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_iucv_path_sever
	movq	%rbx, %rdi
	callq	_iucv_path_free
	leaq	-176(%rbp), %rbx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	$8, %edx
	callq	_memcpy
	movq	$0, -112(%rbp)
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rsi
	callq	_pr_info
	jmp	LBB0_15
LBB0_7:
	movq	_ENODEV@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_16:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_18
## %bb.17:
	addq	$152, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	leaq	8(%rbx), %r15
	movq	%r15, %rdi
	callq	_spin_lock
	movq	(%rbx), %rax
	movq	_IUCV_DISCONN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movq	-184(%rbp), %r14                ## 8-byte Reload
	jne	LBB0_11
## %bb.12:
	leaq	64(%r12), %rsi
	leaq	-176(%rbp), %r13
	movq	%r13, %rdi
	movl	$8, %edx
	callq	_memcpy
	leaq	-112(%rbp), %rdi
	movq	%r12, %rsi
	movl	$8, %edx
	callq	_memcpy
	movl	$65535, (%r14)                  ## imm = 0xFFFF
	movq	_IUCV_IPRMDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, 4(%r14)
	movq	_hvc_iucv_handler@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	movq	%r13, %rdx
	movq	%rbx, %rcx
	callq	_iucv_path_accept
	testl	%eax, %eax
	je	LBB0_13
LBB0_11:
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_iucv_path_sever
	movq	%r14, %rdi
	callq	_iucv_path_free
LBB0_14:
	movq	%r15, %rdi
	callq	_spin_unlock
LBB0_15:
	xorl	%eax, %eax
	jmp	LBB0_16
LBB0_13:
	movq	%r14, 16(%rbx)
	movq	_IUCV_CONNECTED@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rbx)
	addq	$12, %rbx
	movq	%rbx, %rdi
	movl	$5, %esi
	callq	_schedule_delayed_work
	jmp	LBB0_14
LBB0_18:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_hvc_iucv_devices,4,2           ## @hvc_iucv_devices
	.comm	_hvc_iucv_table,8,3             ## @hvc_iucv_table
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_hvc_iucv_filter_lock,4,2       ## @hvc_iucv_filter_lock
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"A connection request from z/VM user ID %s was refused\n"

	.comm	_IUCV_DISCONN,8,3               ## @IUCV_DISCONN
	.comm	_IUCV_IPRMDATA,4,2              ## @IUCV_IPRMDATA
	.comm	_hvc_iucv_handler,4,2           ## @hvc_iucv_handler
	.comm	_IUCV_CONNECTED,8,3             ## @IUCV_CONNECTED
	.no_dead_strip	_hvc_iucv_path_pending
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hvc_iucv_path_pending
_hvc_iucv_path_pending:                 ; @hvc_iucv_path_pending
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #208
	.cfi_def_cfa_offset 208
	stp	x24, x23, [sp, #144]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #160]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #176]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #192]            ; 16-byte Folded Spill
	add	x29, sp, #192
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
Lloh3:
	adrp	x22, _hvc_iucv_devices@GOTPAGE
Lloh4:
	ldr	x22, [x22, _hvc_iucv_devices@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.1:
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	mov	x23, #0
Lloh5:
	adrp	x24, _hvc_iucv_table@GOTPAGE
Lloh6:
	ldr	x24, [x24, _hvc_iucv_table@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x23, x23, #1
	cmp	x23, w8, sxtw
	b.ge	LBB0_9
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x24]
	ldr	x9, [x9, x23, lsl #3]
	cbz	x9, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x9, #24]
	mov	x1, x20
	mov	w2, #8
	bl	_memcmp
	cbz	x0, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x22]
	b	LBB0_2
LBB0_6:
	ldr	x8, [x24]
	ldr	x22, [x8, x23, lsl #3]
	cbz	x22, LBB0_9
; %bb.7:
Lloh7:
	adrp	x23, _hvc_iucv_filter_lock@GOTPAGE
Lloh8:
	ldr	x23, [x23, _hvc_iucv_filter_lock@GOTPAGEOFF]
	mov	x0, x23
	bl	_read_lock
	mov	x0, x21
	bl	_hvc_iucv_filter_connreq
	mov	x24, x0
	mov	x0, x23
	bl	_read_unlock
	cbz	w24, LBB0_12
; %bb.8:
	mov	x0, x19
	mov	x1, x20
	bl	_iucv_path_sever
	mov	x0, x19
	bl	_iucv_path_free
	add	x0, sp, #8
	mov	x1, x21
	mov	w2, #8
	bl	_memcpy
	str	xzr, [sp, #72]
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	add	x1, sp, #8
	bl	_pr_info
	b	LBB0_16
LBB0_9:
Lloh11:
	adrp	x8, _ENODEV@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_10:
	ldur	x8, [x29, #-56]
Lloh14:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh15:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_18
; %bb.11:
	ldp	x29, x30, [sp, #192]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #176]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #160]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #144]            ; 16-byte Folded Reload
	add	sp, sp, #208
	ret
LBB0_12:
	add	x21, x22, #8
	mov	x0, x21
	bl	_spin_lock
	ldr	x8, [x22]
Lloh17:
	adrp	x9, _IUCV_DISCONN@GOTPAGE
Lloh18:
	ldr	x9, [x9, _IUCV_DISCONN@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_14
; %bb.13:
	add	x1, x20, #64
	add	x23, sp, #8
	add	x0, sp, #8
	mov	w2, #8
	bl	_memcpy
	add	x0, x23, #64
	mov	x1, x20
	mov	w2, #8
	bl	_memcpy
	mov	w8, #65535
	str	w8, [x19]
Lloh20:
	adrp	x8, _IUCV_IPRMDATA@GOTPAGE
Lloh21:
	ldr	x8, [x8, _IUCV_IPRMDATA@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	ldr	w9, [x19, #4]
	bic	w8, w9, w8
	str	w8, [x19, #4]
Lloh23:
	adrp	x1, _hvc_iucv_handler@GOTPAGE
Lloh24:
	ldr	x1, [x1, _hvc_iucv_handler@GOTPAGEOFF]
	add	x2, sp, #8
	mov	x0, x19
	mov	x3, x22
	bl	_iucv_path_accept
	cbz	w0, LBB0_17
LBB0_14:
	mov	x0, x19
	mov	x1, x20
	bl	_iucv_path_sever
	mov	x0, x19
	bl	_iucv_path_free
LBB0_15:
	mov	x0, x21
	bl	_spin_unlock
LBB0_16:
	mov	w0, #0
	b	LBB0_10
LBB0_17:
	str	x19, [x22, #16]
Lloh25:
	adrp	x8, _IUCV_CONNECTED@GOTPAGE
Lloh26:
	ldr	x8, [x8, _IUCV_CONNECTED@GOTPAGEOFF]
Lloh27:
	ldr	x8, [x8]
	str	x8, [x22]
	add	x0, x22, #12
	mov	w1, #5
	bl	_schedule_delayed_work
	b	LBB0_15
LBB0_18:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_hvc_iucv_devices,4,2           ; @hvc_iucv_devices
	.comm	_hvc_iucv_table,8,3             ; @hvc_iucv_table
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_hvc_iucv_filter_lock,4,2       ; @hvc_iucv_filter_lock
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"A connection request from z/VM user ID %s was refused\n"

	.comm	_IUCV_DISCONN,8,3               ; @IUCV_DISCONN
	.comm	_IUCV_IPRMDATA,4,2              ; @IUCV_IPRMDATA
	.comm	_hvc_iucv_handler,4,2           ; @hvc_iucv_handler
	.comm	_IUCV_CONNECTED,8,3             ; @IUCV_CONNECTED
	.no_dead_strip	_hvc_iucv_path_pending
.subsections_via_symbols
