	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tipc_disc_init_link_req        ## -- Begin function tipc_disc_init_link_req
	.p2align	4, 0x90
_tipc_disc_init_link_req:               ## @tipc_disc_init_link_req
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r13d
	movl	%edx, %r12d
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$24, %edi
	callq	_kmalloc
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	%rax, %rbx
	movq	_DSC_REQ_MSG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%r13d, %esi
	movl	%r12d, %edx
	movq	%r14, %rcx
	callq	_tipc_disc_init_msg
	movl	%eax, 20(%rbx)
	testl	%eax, %eax
	je	LBB0_4
## %bb.2:
	leaq	16(%rbx), %rdi
	movq	%r15, %rsi
	movl	$4, %edx
	callq	_memcpy
	movq	%r14, 8(%rbx)
	movq	_TIPC_LINK_REQ_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	movq	%rbx, %r14
	addq	$4, %r14
	movq	_disc_timeout@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movq	%rbx, %rdx
	callq	_k_init_timer
	movl	(%rbx), %esi
	movq	%r14, %rdi
	callq	_k_start_timer
	jmp	LBB0_6
LBB0_4:
	movq	%rbx, %rdi
	callq	_kfree
LBB0_5:
	xorl	%ebx, %ebx
LBB0_6:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.comm	_DSC_REQ_MSG,4,2                ## @DSC_REQ_MSG
	.comm	_TIPC_LINK_REQ_INIT,4,2         ## @TIPC_LINK_REQ_INIT
	.comm	_disc_timeout,8,3               ## @disc_timeout
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tipc_disc_init_link_req        ; -- Begin function tipc_disc_init_link_req
	.p2align	2
_tipc_disc_init_link_req:               ; @tipc_disc_init_link_req
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x23, x3
	mov	x22, x2
	mov	x21, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #24
	bl	_kmalloc
	mov	x19, x0
	cbz	x0, LBB0_4
; %bb.1:
Lloh3:
	adrp	x8, _DSC_REQ_MSG@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DSC_REQ_MSG@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	mov	x1, x23
	mov	x2, x22
	mov	x3, x20
	bl	_tipc_disc_init_msg
	str	w0, [x19, #20]
	cbz	w0, LBB0_3
; %bb.2:
	add	x0, x19, #16
	mov	x1, x21
	mov	w2, #4
	bl	_memcpy
	str	x20, [x19, #8]
Lloh6:
	adrp	x8, _TIPC_LINK_REQ_INIT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _TIPC_LINK_REQ_INIT@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [x19]
	add	x20, x19, #4
Lloh9:
	adrp	x8, _disc_timeout@GOTPAGE
Lloh10:
	ldr	x8, [x8, _disc_timeout@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x20
	mov	x2, x19
	bl	_k_init_timer
	ldr	w1, [x19]
	mov	x0, x20
	bl	_k_start_timer
	b	LBB0_4
LBB0_3:
	mov	x0, x19
	bl	_kfree
	mov	x19, #0
LBB0_4:
	mov	x0, x19
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.comm	_DSC_REQ_MSG,4,2                ; @DSC_REQ_MSG
	.comm	_TIPC_LINK_REQ_INIT,4,2         ; @TIPC_LINK_REQ_INIT
	.comm	_disc_timeout,8,3               ; @disc_timeout
.subsections_via_symbols
