	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rxrpc_create_local
_rxrpc_create_local:                    ## @rxrpc_create_local
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movl	20(%rdi), %edx
	leaq	L_.str(%rip), %rdi
	movq	%r14, %rsi
	callq	__enter
	movq	_PF_INET@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	20(%r14), %esi
	movq	_IPPROTO_UDP@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rcx
	callq	_sock_create_kern
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	cmpl	$5, 12(%r14)
	jb	LBB0_5
## %bb.3:
	leaq	L_.str.2(%rip), %rdi
	callq	__debug
	movq	(%r14), %rdi
	leaq	16(%r14), %rsi
	movl	12(%r14), %edx
	callq	_kernel_bind
	testl	%eax, %eax
	js	LBB0_4
LBB0_5:
	movl	$1, -28(%rbp)
	movq	(%r14), %rdi
	movq	_SOL_IP@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	_IP_RECVERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-28(%rbp), %rcx
	movl	$4, %r8d
	callq	_kernel_setsockopt
	testl	%eax, %eax
	js	LBB0_6
## %bb.9:
	movq	_IP_PMTUDISC_DO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -28(%rbp)
	movq	(%r14), %rdi
	movl	(%r15), %esi
	movq	_IP_MTU_DISCOVER@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-28(%rbp), %rcx
	movl	$4, %r8d
	callq	_kernel_setsockopt
	testl	%eax, %eax
	js	LBB0_6
## %bb.10:
	movq	_rxrpc_local_lock@GOTPCREL(%rip), %rbx
	movq	%rbx, %rdi
	callq	_write_lock_bh
	leaq	8(%r14), %rdi
	movq	_rxrpc_locals@GOTPCREL(%rip), %rsi
	callq	_list_add
	movq	%rbx, %rdi
	callq	_write_unlock_bh
	movq	(%r14), %rax
	movq	(%rax), %rax
	movq	%r14, (%rax)
	movq	_rxrpc_data_ready@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 12(%rax)
	movq	_rxrpc_UDP_error_report@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 8(%rax)
	leaq	L_.str.5(%rip), %rdi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	__leave
	jmp	LBB0_11
LBB0_1:
	movl	%eax, %ebx
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_8
LBB0_6:
	movl	%eax, %ebx
	leaq	L_.str.4(%rip), %rdi
	jmp	LBB0_7
LBB0_4:
	movl	%eax, %ebx
	leaq	L_.str.3(%rip), %rdi
LBB0_7:
	callq	__debug
	movq	(%r14), %rdi
	movq	_SHUT_RDWR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_kernel_sock_shutdown
	movq	(%r14), %rdi
	movq	(%rdi), %rax
	movq	$0, (%rax)
	callq	_sock_release
	movq	$0, (%r14)
	leaq	L_.str.6(%rip), %rdi
LBB0_8:
	movl	%ebx, %esi
	xorl	%eax, %eax
	callq	__leave
LBB0_11:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%p{%d}"

	.comm	_PF_INET,4,2                    ## @PF_INET
	.comm	_IPPROTO_UDP,4,2                ## @IPPROTO_UDP
L_.str.1:                               ## @.str.1
	.asciz	" = %d [socket]"

L_.str.2:                               ## @.str.2
	.asciz	"bind"

L_.str.3:                               ## @.str.3
	.asciz	"bind failed"

	.comm	_SOL_IP,4,2                     ## @SOL_IP
	.comm	_IP_RECVERR,4,2                 ## @IP_RECVERR
L_.str.4:                               ## @.str.4
	.asciz	"setsockopt failed"

	.comm	_IP_PMTUDISC_DO,4,2             ## @IP_PMTUDISC_DO
	.comm	_IP_MTU_DISCOVER,4,2            ## @IP_MTU_DISCOVER
	.comm	_rxrpc_local_lock,4,2           ## @rxrpc_local_lock
	.comm	_rxrpc_locals,4,2               ## @rxrpc_locals
	.comm	_rxrpc_data_ready,4,2           ## @rxrpc_data_ready
	.comm	_rxrpc_UDP_error_report,4,2     ## @rxrpc_UDP_error_report
L_.str.5:                               ## @.str.5
	.asciz	" = 0"

	.comm	_SHUT_RDWR,4,2                  ## @SHUT_RDWR
L_.str.6:                               ## @.str.6
	.asciz	" = %d"

	.no_dead_strip	_rxrpc_create_local
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rxrpc_create_local
_rxrpc_create_local:                    ; @rxrpc_create_local
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
	ldr	w2, [x0, #20]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	__enter
Lloh2:
	adrp	x8, _PF_INET@GOTPAGE
Lloh3:
	ldr	x8, [x8, _PF_INET@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	ldr	w1, [x19, #20]
Lloh5:
	adrp	x8, _IPPROTO_UDP@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IPPROTO_UDP@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	mov	x3, x19
	bl	_sock_create_kern
	tbnz	w0, #31, LBB0_6
; %bb.1:
	ldr	w8, [x19, #12]
	cmp	w8, #5
	b.lo	LBB0_3
; %bb.2:
Lloh8:
	adrp	x0, l_.str.2@PAGE
Lloh9:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	__debug
	ldr	x0, [x19]
	add	x1, x19, #16
	ldr	w2, [x19, #12]
	bl	_kernel_bind
	tbnz	w0, #31, LBB0_8
LBB0_3:
	mov	w8, #1
	str	w8, [sp, #12]
	ldr	x0, [x19]
Lloh10:
	adrp	x21, _SOL_IP@GOTPAGE
Lloh11:
	ldr	x21, [x21, _SOL_IP@GOTPAGEOFF]
	ldr	w1, [x21]
Lloh12:
	adrp	x8, _IP_RECVERR@GOTPAGE
Lloh13:
	ldr	x8, [x8, _IP_RECVERR@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
	add	x3, sp, #12
	mov	w4, #4
	bl	_kernel_setsockopt
	tbnz	w0, #31, LBB0_7
; %bb.4:
Lloh15:
	adrp	x8, _IP_PMTUDISC_DO@GOTPAGE
Lloh16:
	ldr	x8, [x8, _IP_PMTUDISC_DO@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	str	w8, [sp, #12]
	ldr	x0, [x19]
	ldr	w1, [x21]
Lloh18:
	adrp	x8, _IP_MTU_DISCOVER@GOTPAGE
Lloh19:
	ldr	x8, [x8, _IP_MTU_DISCOVER@GOTPAGEOFF]
Lloh20:
	ldr	w2, [x8]
	add	x3, sp, #12
	mov	w4, #4
	bl	_kernel_setsockopt
	tbnz	w0, #31, LBB0_7
; %bb.5:
Lloh21:
	adrp	x20, _rxrpc_local_lock@GOTPAGE
Lloh22:
	ldr	x20, [x20, _rxrpc_local_lock@GOTPAGEOFF]
	mov	x0, x20
	bl	_write_lock_bh
	add	x0, x19, #8
Lloh23:
	adrp	x1, _rxrpc_locals@GOTPAGE
Lloh24:
	ldr	x1, [x1, _rxrpc_locals@GOTPAGEOFF]
	bl	_list_add
	mov	x0, x20
	bl	_write_unlock_bh
	ldr	x8, [x19]
	ldr	x8, [x8]
	str	x19, [x8]
Lloh25:
	adrp	x9, _rxrpc_data_ready@GOTPAGE
Lloh26:
	ldr	x9, [x9, _rxrpc_data_ready@GOTPAGEOFF]
Lloh27:
	ldr	w9, [x9]
Lloh28:
	adrp	x10, _rxrpc_UDP_error_report@GOTPAGE
Lloh29:
	ldr	x10, [x10, _rxrpc_UDP_error_report@GOTPAGEOFF]
Lloh30:
	ldr	w10, [x10]
	stp	w10, w9, [x8, #8]
Lloh31:
	adrp	x0, l_.str.5@PAGE
Lloh32:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	__leave
	mov	w20, #0
	b	LBB0_10
LBB0_6:
	mov	x20, x0
	str	x20, [sp]
Lloh33:
	adrp	x0, l_.str.1@PAGE
Lloh34:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	__leave
                                        ; kill: def $w20 killed $w20 killed $x20 def $x20
	b	LBB0_10
LBB0_7:
	mov	x20, x0
Lloh35:
	adrp	x0, l_.str.4@PAGE
Lloh36:
	add	x0, x0, l_.str.4@PAGEOFF
	b	LBB0_9
LBB0_8:
	mov	x20, x0
Lloh37:
	adrp	x0, l_.str.3@PAGE
Lloh38:
	add	x0, x0, l_.str.3@PAGEOFF
LBB0_9:
	bl	__debug
	ldr	x0, [x19]
Lloh39:
	adrp	x8, _SHUT_RDWR@GOTPAGE
Lloh40:
	ldr	x8, [x8, _SHUT_RDWR@GOTPAGEOFF]
Lloh41:
	ldr	w1, [x8]
	bl	_kernel_sock_shutdown
	ldr	x0, [x19]
	ldr	x8, [x0]
	str	xzr, [x8]
	bl	_sock_release
	str	xzr, [x19]
	str	x20, [sp]
Lloh42:
	adrp	x0, l_.str.6@PAGE
Lloh43:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	__leave
LBB0_10:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%p{%d}"

	.comm	_PF_INET,4,2                    ; @PF_INET
	.comm	_IPPROTO_UDP,4,2                ; @IPPROTO_UDP
l_.str.1:                               ; @.str.1
	.asciz	" = %d [socket]"

l_.str.2:                               ; @.str.2
	.asciz	"bind"

l_.str.3:                               ; @.str.3
	.asciz	"bind failed"

	.comm	_SOL_IP,4,2                     ; @SOL_IP
	.comm	_IP_RECVERR,4,2                 ; @IP_RECVERR
l_.str.4:                               ; @.str.4
	.asciz	"setsockopt failed"

	.comm	_IP_PMTUDISC_DO,4,2             ; @IP_PMTUDISC_DO
	.comm	_IP_MTU_DISCOVER,4,2            ; @IP_MTU_DISCOVER
	.comm	_rxrpc_local_lock,4,2           ; @rxrpc_local_lock
	.comm	_rxrpc_locals,4,2               ; @rxrpc_locals
	.comm	_rxrpc_data_ready,4,2           ; @rxrpc_data_ready
	.comm	_rxrpc_UDP_error_report,4,2     ; @rxrpc_UDP_error_report
l_.str.5:                               ; @.str.5
	.asciz	" = 0"

	.comm	_SHUT_RDWR,4,2                  ; @SHUT_RDWR
l_.str.6:                               ; @.str.6
	.asciz	" = %d"

	.no_dead_strip	_rxrpc_create_local
.subsections_via_symbols
