	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tipc_log_dump                  ## -- Begin function tipc_log_dump
	.p2align	4, 0x90
_tipc_log_dump:                         ## @tipc_log_dump
	.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
	movq	_print_lock@GOTPCREL(%rip), %rdi
	callq	_spin_lock_bh
	movq	_TIPC_LOG@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	cmpl	$0, 4(%rdi)
	je	LBB0_1
## %bb.3:
	callq	_tipc_printbuf_empty
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	_print_lock@GOTPCREL(%rip), %rdi
	callq	_spin_unlock_bh
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_2
LBB0_1:
	movq	_print_lock@GOTPCREL(%rip), %rdi
	callq	_spin_unlock_bh
	leaq	L_.str(%rip), %rdi
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_tipc_cfg_reply_ultra_string    ## TAILCALL
LBB0_5:
	movq	(%rbx), %rax
	movl	(%rax), %edi
	movl	$32768, %esi                    ## imm = 0x8000
	callq	_min
	movl	%eax, %r13d
	movq	_print_lock@GOTPCREL(%rip), %rdi
	callq	_spin_unlock_bh
	movl	%r13d, %edi
	callq	_TLV_SPACE
	movl	%eax, %edi
	callq	_tipc_cfg_reply_alloc
	movq	%rax, %r15
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	(%r15), %r14
	movq	%r14, %rdi
	callq	_TLV_DATA
	leaq	-48(%rbp), %r12
	movq	%r12, %rdi
	movl	%eax, %esi
	movl	%r13d, %edx
	callq	_tipc_printbuf_init
	movq	_print_lock@GOTPCREL(%rip), %r13
	movq	%r13, %rdi
	callq	_spin_lock_bh
	movq	(%rbx), %rsi
	movq	%r12, %rdi
	callq	_tipc_printbuf_move
	movq	%r13, %rdi
	callq	_spin_unlock_bh
	movq	%r14, %rdi
	callq	_TLV_DATA
	movl	%eax, %edi
	callq	_strlen
                                        ## kill: def $eax killed $eax def $rax
	leal	1(%rax), %ebx
	movl	%ebx, %edi
	callq	_TLV_SPACE
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_skb_put
	movq	_TIPC_TLV_ULTRA_STRING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	movl	%ebx, %ecx
	callq	_TLV_SET
LBB0_7:
	movq	%r15, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_print_lock,4,2                 ## @print_lock
	.comm	_TIPC_LOG,8,3                   ## @TIPC_LOG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"log not activated\n"

L_.str.1:                               ## @.str.1
	.asciz	"log is empty\n"

	.comm	_TIPC_TLV_ULTRA_STRING,4,2      ## @TIPC_TLV_ULTRA_STRING
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tipc_log_dump                  ; -- Begin function tipc_log_dump
	.p2align	2
_tipc_log_dump:                         ; @tipc_log_dump
	.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
Lloh0:
	adrp	x0, _print_lock@GOTPAGE
Lloh1:
	ldr	x0, [x0, _print_lock@GOTPAGEOFF]
	bl	_spin_lock_bh
Lloh2:
	adrp	x22, _TIPC_LOG@GOTPAGE
Lloh3:
	ldr	x22, [x22, _TIPC_LOG@GOTPAGEOFF]
	ldr	x0, [x22]
	ldr	w8, [x0, #4]
	cbz	w8, LBB0_3
; %bb.1:
	bl	_tipc_printbuf_empty
	cbz	x0, LBB0_5
; %bb.2:
Lloh4:
	adrp	x0, _print_lock@GOTPAGE
Lloh5:
	ldr	x0, [x0, _print_lock@GOTPAGEOFF]
	bl	_spin_unlock_bh
Lloh6:
	adrp	x0, l_.str.1@PAGE
Lloh7:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_4
LBB0_3:
Lloh8:
	adrp	x0, _print_lock@GOTPAGE
Lloh9:
	ldr	x0, [x0, _print_lock@GOTPAGEOFF]
	bl	_spin_unlock_bh
Lloh10:
	adrp	x0, l_.str@PAGE
Lloh11:
	add	x0, x0, l_.str@PAGEOFF
LBB0_4:
	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
	b	_tipc_cfg_reply_ultra_string
LBB0_5:
	ldr	x8, [x22]
	ldr	w0, [x8]
	mov	w1, #32768
	bl	_min
	mov	x20, x0
Lloh12:
	adrp	x0, _print_lock@GOTPAGE
Lloh13:
	ldr	x0, [x0, _print_lock@GOTPAGEOFF]
	bl	_spin_unlock_bh
	mov	x0, x20
	bl	_TLV_SPACE
	bl	_tipc_cfg_reply_alloc
	mov	x19, x0
	cbz	x0, LBB0_7
; %bb.6:
	ldr	x21, [x19]
	mov	x0, x21
	bl	_TLV_DATA
	mov	x1, x0
	add	x0, sp, #8
	mov	x2, x20
	bl	_tipc_printbuf_init
Lloh14:
	adrp	x20, _print_lock@GOTPAGE
Lloh15:
	ldr	x20, [x20, _print_lock@GOTPAGEOFF]
	mov	x0, x20
	bl	_spin_lock_bh
	ldr	x1, [x22]
	add	x0, sp, #8
	bl	_tipc_printbuf_move
	mov	x0, x20
	bl	_spin_unlock_bh
	mov	x0, x21
	bl	_TLV_DATA
	bl	_strlen
	add	w20, w0, #1
	mov	x0, x20
	bl	_TLV_SPACE
	mov	x1, x0
	mov	x0, x19
	bl	_skb_put
Lloh16:
	adrp	x8, _TIPC_TLV_ULTRA_STRING@GOTPAGE
Lloh17:
	ldr	x8, [x8, _TIPC_TLV_ULTRA_STRING@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	mov	x0, x21
	mov	x2, #0
	mov	x3, x20
	bl	_TLV_SET
LBB0_7:
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_print_lock,4,2                 ; @print_lock
	.comm	_TIPC_LOG,8,3                   ; @TIPC_LOG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"log not activated\n"

l_.str.1:                               ; @.str.1
	.asciz	"log is empty\n"

	.comm	_TIPC_TLV_ULTRA_STRING,4,2      ; @TIPC_TLV_ULTRA_STRING
.subsections_via_symbols
