	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iucv_sock_kill
_iucv_sock_kill:                        ## @iucv_sock_kill
	.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	%rdi, %rbx
	movq	_SOCK_ZAPPED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_sock_flag
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	cmpq	$0, (%rbx)
	je	LBB0_3
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_3:
	movq	_iucv_sk_list@GOTPCREL(%rip), %rdi
	movq	%rbx, %rsi
	callq	_iucv_sock_unlink
	movq	_SOCK_DEAD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_sock_set_flag
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_sock_put                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SOCK_ZAPPED,4,2                ## @SOCK_ZAPPED
	.comm	_iucv_sk_list,4,2               ## @iucv_sk_list
	.comm	_SOCK_DEAD,4,2                  ## @SOCK_DEAD
	.no_dead_strip	_iucv_sock_kill
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iucv_sock_kill
_iucv_sock_kill:                        ; @iucv_sock_kill
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, _SOCK_ZAPPED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SOCK_ZAPPED@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_sock_flag
	cbz	w0, LBB0_2
; %bb.1:
	ldr	x8, [x19]
	cbz	x8, LBB0_3
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_3:
Lloh3:
	adrp	x0, _iucv_sk_list@GOTPAGE
Lloh4:
	ldr	x0, [x0, _iucv_sk_list@GOTPAGEOFF]
	mov	x1, x19
	bl	_iucv_sock_unlink
Lloh5:
	adrp	x8, _SOCK_DEAD@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SOCK_DEAD@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_sock_set_flag
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_sock_put
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_SOCK_ZAPPED,4,2                ; @SOCK_ZAPPED
	.comm	_iucv_sk_list,4,2               ; @iucv_sk_list
	.comm	_SOCK_DEAD,4,2                  ; @SOCK_DEAD
	.no_dead_strip	_iucv_sock_kill
.subsections_via_symbols
