	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_provinfo                       ## -- Begin function provinfo
	.p2align	4, 0x90
_provinfo:                              ## @provinfo
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	xorl	%edi, %edi
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	cmpb	$0, (%rax)
	setne	%dil
LBB0_2:
	callq	_PJDLOG_ASSERT
	movl	8(%rbx), %edi
	cmpl	$-1, %edi
	jne	LBB0_9
## %bb.3:
	movq	(%rbx), %rdi
	testl	%r14d, %r14d
	jne	LBB0_4
## %bb.5:
	movq	_O_RDONLY@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_4:
	movq	_O_RDWR@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %esi
	callq	_open
	movl	%eax, %edi
	movl	%eax, 8(%rbx)
	cmpl	$-1, %eax
	je	LBB0_7
LBB0_9:
	leaq	-24(%rbp), %rsi
	callq	_fstat
	cmpl	$-1, %eax
	je	LBB0_10
## %bb.11:
	movl	-20(%rbp), %r14d
	movl	%r14d, %edi
	callq	_S_ISCHR
	testq	%rax, %rax
	je	LBB0_16
## %bb.12:
	movl	8(%rbx), %edi
	movq	_DIOCGMEDIASIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	12(%rbx), %rdx
	callq	_ioctl
	cmpl	$-1, %eax
	je	LBB0_13
## %bb.14:
	movl	8(%rbx), %edi
	movq	_DIOCGSECTORSIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	16(%rbx), %rdx
	callq	_ioctl
	movl	%eax, %ecx
	xorl	%eax, %eax
	cmpl	$-1, %ecx
	jne	LBB0_20
## %bb.15:
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%rbx), %rdx
	leaq	L_.str.3(%rip), %rsi
	callq	_pjdlog_errno
	jmp	LBB0_19
LBB0_10:
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%rbx), %rdx
	leaq	L_.str.1(%rip), %rsi
	callq	_pjdlog_errno
	jmp	LBB0_19
LBB0_16:
	movl	%r14d, %edi
	callq	_S_ISREG
	testq	%rax, %rax
	je	LBB0_18
## %bb.17:
	movl	-24(%rbp), %eax
	movl	%eax, 12(%rbx)
	movl	$512, 16(%rbx)                  ## imm = 0x200
	xorl	%eax, %eax
	jmp	LBB0_20
LBB0_7:
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%rbx), %rdx
	leaq	L_.str(%rip), %rsi
	callq	_pjdlog_errno
	jmp	LBB0_19
LBB0_13:
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%rbx), %rdx
	leaq	L_.str.2(%rip), %rsi
	callq	_pjdlog_errno
	jmp	LBB0_19
LBB0_18:
	movq	(%rbx), %rsi
	leaq	L_.str.4(%rip), %rdi
	callq	_pjdlog_error
	movq	_EFTYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_errno@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
LBB0_19:
	movl	$-1, %eax
LBB0_20:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_O_RDWR,4,2                     ## @O_RDWR
	.comm	_O_RDONLY,4,2                   ## @O_RDONLY
	.comm	_LOG_ERR,4,2                    ## @LOG_ERR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unable to open %s"

L_.str.1:                               ## @.str.1
	.asciz	"Unable to stat %s"

	.comm	_DIOCGMEDIASIZE,4,2             ## @DIOCGMEDIASIZE
L_.str.2:                               ## @.str.2
	.asciz	"Unable obtain provider %s mediasize"

	.comm	_DIOCGSECTORSIZE,4,2            ## @DIOCGSECTORSIZE
L_.str.3:                               ## @.str.3
	.asciz	"Unable obtain provider %s sectorsize"

L_.str.4:                               ## @.str.4
	.asciz	"%s is neither GEOM provider nor regular file."

	.comm	_EFTYPE,4,2                     ## @EFTYPE
	.comm	_errno,4,2                      ## @errno
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_provinfo                       ; -- Begin function provinfo
	.p2align	2
_provinfo:                              ; @provinfo
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
	ldr	x8, [x0]
	cbz	x8, LBB0_2
; %bb.1:
	ldrb	w8, [x8]
	cmp	w8, #0
	cset	w0, ne
	b	LBB0_3
LBB0_2:
	mov	w0, #0
LBB0_3:
	bl	_PJDLOG_ASSERT
	ldr	w0, [x19, #8]
	cmn	w0, #1
	b.ne	LBB0_5
; %bb.4:
Lloh0:
	adrp	x8, _O_RDWR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _O_RDWR@GOTPAGEOFF]
	ldr	x0, [x19]
Lloh2:
	adrp	x9, _O_RDONLY@GOTPAGE
Lloh3:
	ldr	x9, [x9, _O_RDONLY@GOTPAGEOFF]
	cmp	w20, #0
	csel	x8, x9, x8, eq
	ldr	w1, [x8]
	bl	_open
	str	w0, [x19, #8]
	cmn	w0, #1
	b.eq	LBB0_13
LBB0_5:
	add	x1, sp, #8
	bl	_fstat
	cmn	w0, #1
	b.eq	LBB0_10
; %bb.6:
	ldr	w20, [sp, #12]
	mov	x0, x20
	bl	_S_ISCHR
	cbz	x0, LBB0_11
; %bb.7:
	ldr	w0, [x19, #8]
Lloh4:
	adrp	x8, _DIOCGMEDIASIZE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _DIOCGMEDIASIZE@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
	add	x2, x19, #12
	bl	_ioctl
	cmn	w0, #1
	b.eq	LBB0_14
; %bb.8:
	ldr	w0, [x19, #8]
Lloh7:
	adrp	x8, _DIOCGSECTORSIZE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _DIOCGSECTORSIZE@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	add	x2, x19, #16
	bl	_ioctl
	cmn	w0, #1
	b.eq	LBB0_15
; %bb.9:
	mov	w0, #0
	b	LBB0_18
LBB0_10:
Lloh10:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh11:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	ldr	x2, [x19]
Lloh13:
	adrp	x1, l_.str.1@PAGE
Lloh14:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_pjdlog_errno
	b	LBB0_17
LBB0_11:
	mov	x0, x20
	bl	_S_ISREG
	cbz	x0, LBB0_16
; %bb.12:
	mov	w0, #0
	ldr	w8, [sp, #8]
	mov	w9, #512
	stp	w8, w9, [x19, #12]
	b	LBB0_18
LBB0_13:
Lloh15:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh16:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	ldr	x2, [x19]
Lloh18:
	adrp	x1, l_.str@PAGE
Lloh19:
	add	x1, x1, l_.str@PAGEOFF
	bl	_pjdlog_errno
	b	LBB0_17
LBB0_14:
Lloh20:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh21:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
	ldr	x2, [x19]
Lloh23:
	adrp	x1, l_.str.2@PAGE
Lloh24:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_pjdlog_errno
	b	LBB0_17
LBB0_15:
Lloh25:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh26:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh27:
	ldr	w0, [x8]
	ldr	x2, [x19]
Lloh28:
	adrp	x1, l_.str.3@PAGE
Lloh29:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_pjdlog_errno
	b	LBB0_17
LBB0_16:
	ldr	x1, [x19]
Lloh30:
	adrp	x0, l_.str.4@PAGE
Lloh31:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_pjdlog_error
Lloh32:
	adrp	x8, _EFTYPE@GOTPAGE
Lloh33:
	ldr	x8, [x8, _EFTYPE@GOTPAGEOFF]
Lloh34:
	ldr	w8, [x8]
Lloh35:
	adrp	x9, _errno@GOTPAGE
Lloh36:
	ldr	x9, [x9, _errno@GOTPAGEOFF]
Lloh37:
	str	w8, [x9]
LBB0_17:
	mov	w0, #-1
LBB0_18:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotStr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
	.comm	_O_RDWR,4,2                     ; @O_RDWR
	.comm	_O_RDONLY,4,2                   ; @O_RDONLY
	.comm	_LOG_ERR,4,2                    ; @LOG_ERR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unable to open %s"

l_.str.1:                               ; @.str.1
	.asciz	"Unable to stat %s"

	.comm	_DIOCGMEDIASIZE,4,2             ; @DIOCGMEDIASIZE
l_.str.2:                               ; @.str.2
	.asciz	"Unable obtain provider %s mediasize"

	.comm	_DIOCGSECTORSIZE,4,2            ; @DIOCGSECTORSIZE
l_.str.3:                               ; @.str.3
	.asciz	"Unable obtain provider %s sectorsize"

l_.str.4:                               ; @.str.4
	.asciz	"%s is neither GEOM provider nor regular file."

	.comm	_EFTYPE,4,2                     ; @EFTYPE
	.comm	_errno,4,2                      ; @errno
.subsections_via_symbols
