	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_history
_get_history:                           ## @get_history
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %rbx
	movq	%rdx, %r13
	movq	%rsi, %r15
	movq	$0, -56(%rbp)
	movq	8(%rdi), %r14
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movl	(%rdi), %esi
	xorl	%r12d, %r12d
	xorl	%edi, %edi
	movl	$4, %edx
	callq	_strlcpy
	movq	%r15, -64(%rbp)
	movq	(%rbx), %rax
	movq	%rax, -72(%rbp)
	movq	(%r13), %rax
	movq	%rax, -80(%rbp)
	movl	(%r14), %edi
	movq	_ZFS_IOC_POOL_GET_HISTORY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-80(%rbp), %rdx
	callq	_ioctl
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	cmpl	$130, %ebx
	je	LBB0_6
## %bb.2:
	cmpl	$129, %ebx
	je	LBB0_7
## %bb.3:
	cmpl	$128, %ebx
	jne	LBB0_9
## %bb.4:
	movq	_EZFS_PERM@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_TEXT_DOMAIN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_8
LBB0_5:
	movq	-72(%rbp), %rax
	movq	%rax, (%rbx)
	movq	-80(%rbp), %rax
	movq	%rax, (%r13)
	jmp	LBB0_11
LBB0_6:
	movq	_EZFS_NOHISTORY@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_TEXT_DOMAIN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_8
LBB0_7:
	movq	_EZFS_BADVERSION@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_TEXT_DOMAIN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
LBB0_8:
	callq	_dgettext
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rcx), %ecx
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_zfs_error_fmt
	jmp	LBB0_10
LBB0_9:
	movq	_TEXT_DOMAIN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	callq	_dgettext
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rcx), %ecx
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_zpool_standard_error_fmt
LBB0_10:
	movl	%eax, %r12d
LBB0_11:
	movl	%r12d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ZFS_IOC_POOL_GET_HISTORY,4,2   ## @ZFS_IOC_POOL_GET_HISTORY
	.comm	_errno,4,2                      ## @errno
	.comm	_EZFS_PERM,4,2                  ## @EZFS_PERM
	.comm	_TEXT_DOMAIN,4,2                ## @TEXT_DOMAIN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cannot show history for pool '%s'"

	.comm	_EZFS_NOHISTORY,4,2             ## @EZFS_NOHISTORY
L_.str.1:                               ## @.str.1
	.asciz	"cannot get history for pool '%s'"

	.comm	_EZFS_BADVERSION,4,2            ## @EZFS_BADVERSION
L_.str.2:                               ## @.str.2
	.asciz	"cannot get history for pool '%s', pool must be upgraded"

L_.str.3:                               ## @.str.3
	.asciz	"cannot get history for '%s'"

	.no_dead_strip	_get_history
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_history
_get_history:                           ; @get_history
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x21, x3
	mov	x22, x2
	mov	x23, x1
	mov	x20, x0
	str	xzr, [sp, #24]
	ldr	x19, [x0, #8]
	ldr	w1, [x0]
	mov	w0, #0
	mov	w2, #4
	bl	_strlcpy
	ldr	x8, [x21]
	ldr	x9, [x22]
	stp	x8, x23, [sp, #8]
	str	x9, [sp]
	ldr	w0, [x19]
Lloh0:
	adrp	x8, _ZFS_IOC_POOL_GET_HISTORY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ZFS_IOC_POOL_GET_HISTORY@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x2, sp
	bl	_ioctl
	cbz	x0, LBB0_5
; %bb.1:
Lloh3:
	adrp	x8, _errno@GOTPAGE
Lloh4:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh5:
	ldr	w21, [x8]
	cmp	w21, #130
	b.eq	LBB0_6
; %bb.2:
	cmp	w21, #129
	b.eq	LBB0_7
; %bb.3:
	cmp	w21, #128
	b.ne	LBB0_9
; %bb.4:
Lloh6:
	adrp	x8, _EZFS_PERM@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EZFS_PERM@GOTPAGEOFF]
Lloh8:
	ldr	w21, [x8]
Lloh9:
	adrp	x8, _TEXT_DOMAIN@GOTPAGE
Lloh10:
	ldr	x8, [x8, _TEXT_DOMAIN@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_8
LBB0_5:
	ldp	x9, x8, [sp]
	str	x8, [x21]
	str	x9, [x22]
	b	LBB0_10
LBB0_6:
Lloh14:
	adrp	x8, _EZFS_NOHISTORY@GOTPAGE
Lloh15:
	ldr	x8, [x8, _EZFS_NOHISTORY@GOTPAGEOFF]
Lloh16:
	ldr	w21, [x8]
Lloh17:
	adrp	x8, _TEXT_DOMAIN@GOTPAGE
Lloh18:
	ldr	x8, [x8, _TEXT_DOMAIN@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
Lloh20:
	adrp	x1, l_.str.1@PAGE
Lloh21:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_8
LBB0_7:
Lloh22:
	adrp	x8, _EZFS_BADVERSION@GOTPAGE
Lloh23:
	ldr	x8, [x8, _EZFS_BADVERSION@GOTPAGEOFF]
Lloh24:
	ldr	w21, [x8]
Lloh25:
	adrp	x8, _TEXT_DOMAIN@GOTPAGE
Lloh26:
	ldr	x8, [x8, _TEXT_DOMAIN@GOTPAGEOFF]
Lloh27:
	ldr	w0, [x8]
Lloh28:
	adrp	x1, l_.str.2@PAGE
Lloh29:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_8:
	bl	_dgettext
	mov	x2, x0
	ldr	w3, [x20]
	mov	x0, x19
	mov	x1, x21
	bl	_zfs_error_fmt
	b	LBB0_10
LBB0_9:
Lloh30:
	adrp	x8, _TEXT_DOMAIN@GOTPAGE
Lloh31:
	ldr	x8, [x8, _TEXT_DOMAIN@GOTPAGEOFF]
Lloh32:
	ldr	w0, [x8]
Lloh33:
	adrp	x1, l_.str.3@PAGE
Lloh34:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_dgettext
	mov	x2, x0
	ldr	w3, [x20]
	mov	x0, x19
	mov	x1, x21
	bl	_zpool_standard_error_fmt
LBB0_10:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.comm	_ZFS_IOC_POOL_GET_HISTORY,4,2   ; @ZFS_IOC_POOL_GET_HISTORY
	.comm	_errno,4,2                      ; @errno
	.comm	_EZFS_PERM,4,2                  ; @EZFS_PERM
	.comm	_TEXT_DOMAIN,4,2                ; @TEXT_DOMAIN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cannot show history for pool '%s'"

	.comm	_EZFS_NOHISTORY,4,2             ; @EZFS_NOHISTORY
l_.str.1:                               ; @.str.1
	.asciz	"cannot get history for pool '%s'"

	.comm	_EZFS_BADVERSION,4,2            ; @EZFS_BADVERSION
l_.str.2:                               ; @.str.2
	.asciz	"cannot get history for pool '%s', pool must be upgraded"

l_.str.3:                               ; @.str.3
	.asciz	"cannot get history for '%s'"

	.no_dead_strip	_get_history
.subsections_via_symbols
