	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rds_create
_rds_create:                            ## @rds_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
	jne	LBB0_2
## %bb.1:
	movq	%rsi, %rbx
	movq	_SOCK_SEQPACKET@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%rax, (%rsi)
	jne	LBB0_2
## %bb.4:
	movq	_AF_RDS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_rds_proto@GOTPCREL(%rip), %rcx
	callq	_sk_alloc
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	movq	%rbx, %rdi
	movq	%rax, %rsi
	xorl	%edx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	___rds_create                   ## TAILCALL
LBB0_2:
	movq	_ESOCKTNOSUPPORT@GOTPCREL(%rip), %rcx
	jmp	LBB0_3
LBB0_5:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
LBB0_3:
	xorl	%eax, %eax
	subl	(%rcx), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SOCK_SEQPACKET,8,3             ## @SOCK_SEQPACKET
	.comm	_ESOCKTNOSUPPORT,4,2            ## @ESOCKTNOSUPPORT
	.comm	_AF_RDS,4,2                     ## @AF_RDS
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.comm	_rds_proto,4,2                  ## @rds_proto
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_rds_create
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rds_create
_rds_create:                            ; @rds_create
	.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
	cbnz	w2, LBB0_4
; %bb.1:
	mov	x19, x1
	ldr	x8, [x1]
Lloh0:
	adrp	x9, _SOCK_SEQPACKET@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SOCK_SEQPACKET@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.2:
Lloh3:
	adrp	x8, _AF_RDS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AF_RDS@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh7:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
Lloh9:
	adrp	x3, _rds_proto@GOTPAGE
Lloh10:
	ldr	x3, [x3, _rds_proto@GOTPAGEOFF]
	bl	_sk_alloc
	cbz	x0, LBB0_5
; %bb.3:
	mov	x1, x0
	mov	x0, x19
	mov	w2, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	___rds_create
LBB0_4:
Lloh11:
	adrp	x8, _ESOCKTNOSUPPORT@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ESOCKTNOSUPPORT@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
Lloh13:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_6:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_SOCK_SEQPACKET,8,3             ; @SOCK_SEQPACKET
	.comm	_ESOCKTNOSUPPORT,4,2            ; @ESOCKTNOSUPPORT
	.comm	_AF_RDS,4,2                     ; @AF_RDS
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.comm	_rds_proto,4,2                  ; @rds_proto
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_rds_create
.subsections_via_symbols
