	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iucv_sock_autobind
_iucv_sock_autobind:                    ## @iucv_sock_autobind
	.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	%r12
	pushq	%rbx
	subq	$112, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	callq	_iucv_sk
	movq	%rax, %r14
	movl	$0, -144(%rbp)
	leaq	L_.str(%rip), %rdi
	leaq	-128(%rbp), %rsi
	leaq	-144(%rbp), %rcx
	movl	$80, %edx
	callq	_cpcmd
	movl	-144(%rbp), %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_EPROTO@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_8
LBB0_2:
	movq	16(%r14), %rdi
	leaq	-128(%rbp), %rsi
	movl	$8, %edx
	callq	_memcpy
	movq	_iucv_sk_list@GOTPCREL(%rip), %r12
	movq	%r12, %rdi
	callq	_write_lock_bh
	addq	$4, %r12
	movq	%r12, %rdi
	callq	_atomic_inc_return
	leaq	L_.str.1(%rip), %rsi
	leaq	-140(%rbp), %rbx
	movq	%rbx, %rdi
	movl	%eax, %edx
	callq	_sprintf
	movq	%rbx, %rdi
	callq	___iucv_get_sock_by_name
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	leaq	L_.str.1(%rip), %r15
	leaq	-140(%rbp), %rbx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	callq	_atomic_inc_return
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	%eax, %edx
	callq	_sprintf
	movq	%rbx, %rdi
	callq	___iucv_get_sock_by_name
	testq	%rax, %rax
	jne	LBB0_4
LBB0_5:
	movq	_iucv_sk_list@GOTPCREL(%rip), %rdi
	callq	_write_unlock_bh
	movq	%r14, %rdi
	addq	$8, %rdi
	leaq	-140(%rbp), %rsi
	movl	$8, %edx
	callq	_memcpy
	cmpq	$0, (%r14)
	jne	LBB0_7
## %bb.6:
	movq	_IUCV_QUEUELEN_DEFAULT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r14)
LBB0_7:
	movl	-144(%rbp), %eax
LBB0_8:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-40(%rbp), %rcx
	jne	LBB0_10
## %bb.9:
	addq	$112, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"QUERY USERID"

	.comm	_EPROTO,4,2                     ## @EPROTO
	.comm	_iucv_sk_list,8,2               ## @iucv_sk_list
L_.str.1:                               ## @.str.1
	.asciz	"%08x"

	.comm	_IUCV_QUEUELEN_DEFAULT,8,3      ## @IUCV_QUEUELEN_DEFAULT
	.no_dead_strip	_iucv_sock_autobind
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iucv_sock_autobind
_iucv_sock_autobind:                    ; @iucv_sock_autobind
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	bl	_iucv_sk
	mov	x19, x0
	str	wzr, [sp, #8]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	add	x1, sp, #24
	add	x3, sp, #8
	mov	w2, #80
	bl	_cpcmd
	ldr	w0, [sp, #8]
	bl	_unlikely
	cbz	x0, LBB0_2
; %bb.1:
Lloh5:
	adrp	x8, _EPROTO@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EPROTO@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_8
LBB0_2:
	ldr	x0, [x19, #16]
	add	x1, sp, #24
	mov	w2, #8
	bl	_memcpy
Lloh8:
	adrp	x20, _iucv_sk_list@GOTPAGE
Lloh9:
	ldr	x20, [x20, _iucv_sk_list@GOTPAGEOFF]
	mov	x0, x20
	bl	_write_lock_bh
	add	x20, x20, #4
	mov	x0, x20
	bl	_atomic_inc_return
	mov	x2, x0
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x0, sp, #12
	bl	_sprintf
	add	x0, sp, #12
	bl	___iucv_get_sock_by_name
	cbz	x0, LBB0_5
; %bb.3:
Lloh12:
	adrp	x21, l_.str.1@PAGE
Lloh13:
	add	x21, x21, l_.str.1@PAGEOFF
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_atomic_inc_return
	mov	x2, x0
	add	x0, sp, #12
	mov	x1, x21
	bl	_sprintf
	add	x0, sp, #12
	bl	___iucv_get_sock_by_name
	cbnz	x0, LBB0_4
LBB0_5:
Lloh14:
	adrp	x0, _iucv_sk_list@GOTPAGE
Lloh15:
	ldr	x0, [x0, _iucv_sk_list@GOTPAGEOFF]
	bl	_write_unlock_bh
	add	x0, x19, #8
	add	x1, sp, #12
	mov	w2, #8
	bl	_memcpy
	ldr	x8, [x19]
	cbnz	x8, LBB0_7
; %bb.6:
Lloh16:
	adrp	x8, _IUCV_QUEUELEN_DEFAULT@GOTPAGE
Lloh17:
	ldr	x8, [x8, _IUCV_QUEUELEN_DEFAULT@GOTPAGEOFF]
Lloh18:
	ldr	x8, [x8]
	str	x8, [x19]
LBB0_7:
	ldr	w0, [sp, #8]
LBB0_8:
	ldur	x8, [x29, #-40]
Lloh19:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh20:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_10
; %bb.9:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_10:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"QUERY USERID"

	.comm	_EPROTO,4,2                     ; @EPROTO
	.comm	_iucv_sk_list,8,2               ; @iucv_sk_list
l_.str.1:                               ; @.str.1
	.asciz	"%08x"

	.comm	_IUCV_QUEUELEN_DEFAULT,8,3      ; @IUCV_QUEUELEN_DEFAULT
	.no_dead_strip	_iucv_sock_autobind
.subsections_via_symbols
