	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iucv_sock_create
_iucv_sock_create:                      ## @iucv_sock_create
	.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
	testl	%edx, %edx
	je	LBB0_4
## %bb.1:
	movq	_PF_IUCV@GOTPCREL(%rip), %rax
	cmpl	%edx, (%rax)
	je	LBB0_4
## %bb.2:
	movq	_EPROTONOSUPPORT@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_4:
	movq	_SS_UNCONNECTED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rsi)
	movl	(%rsi), %eax
	andl	$-2, %eax
	cmpl	$128, %eax
	jne	LBB0_5
## %bb.6:
	movq	_iucv_sock_ops@GOTPCREL(%rip), %rax
	movq	%rax, 8(%rsi)
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%rsi, %rdi
	movl	%edx, %esi
	movl	%eax, %edx
	callq	_iucv_sock_alloc
	testq	%rax, %rax
	je	LBB0_7
## %bb.8:
	xorl	%ebx, %ebx
	movq	%rax, %rdi
	xorl	%esi, %esi
	callq	_iucv_sock_init
	jmp	LBB0_9
LBB0_5:
	movq	_ESOCKTNOSUPPORT@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_7:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
LBB0_3:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_9:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PF_IUCV,4,2                    ## @PF_IUCV
	.comm	_EPROTONOSUPPORT,4,2            ## @EPROTONOSUPPORT
	.comm	_SS_UNCONNECTED,4,2             ## @SS_UNCONNECTED
	.comm	_iucv_sock_ops,4,2              ## @iucv_sock_ops
	.comm	_ESOCKTNOSUPPORT,4,2            ## @ESOCKTNOSUPPORT
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_iucv_sock_create
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iucv_sock_create
_iucv_sock_create:                      ; @iucv_sock_create
	.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
	cbz	w2, LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _PF_IUCV@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PF_IUCV@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w2
	b.eq	LBB0_3
; %bb.2:
Lloh3:
	adrp	x8, _EPROTONOSUPPORT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EPROTONOSUPPORT@GOTPAGEOFF]
	b	LBB0_8
LBB0_3:
Lloh5:
	adrp	x8, _SS_UNCONNECTED@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SS_UNCONNECTED@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	str	w8, [x1, #16]
	ldr	w8, [x1]
	and	w8, w8, #0xfffffffe
	cmp	w8, #128
	b.ne	LBB0_6
; %bb.4:
Lloh8:
	adrp	x8, _iucv_sock_ops@GOTPAGE
Lloh9:
	ldr	x8, [x8, _iucv_sock_ops@GOTPAGEOFF]
	str	x8, [x1, #8]
Lloh10:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh11:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	mov	x0, x1
	mov	x1, x2
	mov	x2, x8
	bl	_iucv_sock_alloc
	cbz	x0, LBB0_7
; %bb.5:
	mov	x1, #0
	bl	_iucv_sock_init
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_6:
Lloh13:
	adrp	x8, _ESOCKTNOSUPPORT@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ESOCKTNOSUPPORT@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:
Lloh15:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_8:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_PF_IUCV,4,2                    ; @PF_IUCV
	.comm	_EPROTONOSUPPORT,4,2            ; @EPROTONOSUPPORT
	.comm	_SS_UNCONNECTED,4,2             ; @SS_UNCONNECTED
	.comm	_iucv_sock_ops,4,2              ; @iucv_sock_ops
	.comm	_ESOCKTNOSUPPORT,4,2            ; @ESOCKTNOSUPPORT
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_iucv_sock_create
.subsections_via_symbols
