	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_llc_conn_ac_resend_i_xxx_x_set_0_or_send_rr ## -- Begin function llc_conn_ac_resend_i_xxx_x_set_0_or_send_rr
	.p2align	4, 0x90
_llc_conn_ac_resend_i_xxx_x_set_0_or_send_rr: ## @llc_conn_ac_resend_i_xxx_x_set_0_or_send_rr
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rdi
	callq	_llc_pdu_sn_hdr
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	_ENOBUFS@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	movq	%r12, %rdi
	callq	_llc_sk
	movq	%rax, %r14
	movq	8(%rax), %rsi
	movq	_LLC_PDU_TYPE_U@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	movq	%r12, %rdi
	xorl	%ecx, %ecx
	callq	_llc_alloc_frame
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	%rax, %r13
	movq	24(%r14), %rax
	movl	(%r15), %esi
	movl	(%rax), %edx
	movl	4(%r14), %ecx
	movq	_LLC_PDU_RSP@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r13, %rdi
	callq	_llc_pdu_header_init
	movl	16(%r14), %edx
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_llc_pdu_init_as_rr_rsp
	movq	8(%r14), %rax
	movl	(%rax), %esi
	movl	(%r14), %edx
	movq	%r13, %rdi
	callq	_llc_mac_hdr_init
	movl	%eax, %ebx
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_likely
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_llc_conn_send_pdu
LBB0_4:
	testl	%ebx, %ebx
	je	LBB0_6
LBB0_5:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_LLC_I_GET_NR
	movq	%r12, %rdi
	movl	%eax, %esi
	xorl	%edx, %edx
	callq	_llc_conn_resend_i_pdu_as_cmd
LBB0_6:
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_kfree_skb
	testl	%ebx, %ebx
	jne	LBB0_5
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOBUFS,4,2                    ## @ENOBUFS
	.comm	_LLC_PDU_TYPE_U,4,2             ## @LLC_PDU_TYPE_U
	.comm	_LLC_PDU_RSP,4,2                ## @LLC_PDU_RSP
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_llc_conn_ac_resend_i_xxx_x_set_0_or_send_rr ; -- Begin function llc_conn_ac_resend_i_xxx_x_set_0_or_send_rr
	.p2align	2
_llc_conn_ac_resend_i_xxx_x_set_0_or_send_rr: ; @llc_conn_ac_resend_i_xxx_x_set_0_or_send_rr
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x21, x1
	mov	x19, x0
	mov	x0, x1
	bl	_llc_pdu_sn_hdr
	mov	x20, x0
Lloh0:
	adrp	x8, _ENOBUFS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENOBUFS@GOTPAGEOFF]
Lloh2:
	ldr	w24, [x8]
	mov	x0, x19
	bl	_llc_sk
	mov	x23, x0
	ldr	x1, [x0, #8]
Lloh3:
	adrp	x25, _LLC_PDU_TYPE_U@GOTPAGE
Lloh4:
	ldr	x25, [x25, _LLC_PDU_TYPE_U@GOTPAGEOFF]
	ldr	w2, [x25]
	mov	x0, x19
	mov	w3, #0
	bl	_llc_alloc_frame
	cbz	x0, LBB0_3
; %bb.1:
	mov	x22, x0
	ldr	x8, [x23, #24]
	ldr	w1, [x25]
	ldr	w2, [x8]
	ldr	w3, [x23, #4]
Lloh5:
	adrp	x8, _LLC_PDU_RSP@GOTPAGE
Lloh6:
	ldr	x8, [x8, _LLC_PDU_RSP@GOTPAGEOFF]
Lloh7:
	ldr	w4, [x8]
	bl	_llc_pdu_header_init
	ldr	w2, [x23, #16]
	mov	x0, x22
	mov	w1, #0
	bl	_llc_pdu_init_as_rr_rsp
	ldr	x8, [x23, #8]
	ldr	w1, [x8]
	ldr	w2, [x23]
	mov	x0, x22
	bl	_llc_mac_hdr_init
	mov	x23, x0
	cmp	w0, #0
	cset	w0, eq
	bl	_likely
	cbz	x0, LBB0_6
; %bb.2:
	mov	x0, x19
	mov	x1, x22
	bl	_llc_conn_send_pdu
	cbnz	w23, LBB0_4
	b	LBB0_5
LBB0_3:
	neg	w23, w24
	cbz	w23, LBB0_5
LBB0_4:
	mov	x0, x20
	bl	_LLC_I_GET_NR
	mov	x1, x0
	mov	x0, x19
	mov	w2, #0
	bl	_llc_conn_resend_i_pdu_as_cmd
LBB0_5:
	mov	w0, #0
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_6:
	mov	x0, x21
	bl	_kfree_skb
	cbnz	w23, LBB0_4
	b	LBB0_5
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOBUFS,4,2                    ; @ENOBUFS
	.comm	_LLC_PDU_TYPE_U,4,2             ; @LLC_PDU_TYPE_U
	.comm	_LLC_PDU_RSP,4,2                ; @LLC_PDU_RSP
.subsections_via_symbols
