	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pnp_eisaformat                 ## -- Begin function pnp_eisaformat
	.p2align	4, 0x90
_pnp_eisaformat:                        ## @pnp_eisaformat
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movb	(%rdi), %al
	shrb	$2, %al
	andb	$31, %al
	orb	$64, %al
	movb	%al, _pnp_eisaformat.idbuf(%rip)
	leaq	_pnp_eisaformat.idbuf(%rip), %rax
	movl	(%rdi), %ecx
	movl	4(%rdi), %edx
	andl	$3, %ecx
	movl	%edx, %esi
	shrl	$5, %esi
	andl	$7, %esi
	leal	(%rsi,%rcx,8), %ecx
	orb	$64, %cl
	movb	%cl, _pnp_eisaformat.idbuf+1(%rip)
	andb	$31, %dl
	orb	$64, %dl
	movb	%dl, _pnp_eisaformat.idbuf+2(%rip)
	movl	8(%rdi), %ecx
	movl	%ecx, %edx
	sarl	$4, %edx
	movslq	%edx, %rdx
	leaq	L___const.pnp_eisaformat.hextoascii(%rip), %rsi
	movb	(%rdx,%rsi), %dl
	movb	%dl, _pnp_eisaformat.idbuf+3(%rip)
	andl	$15, %ecx
	movb	(%rcx,%rsi), %cl
	movb	%cl, _pnp_eisaformat.idbuf+4(%rip)
	movl	12(%rdi), %ecx
	movl	%ecx, %edx
	sarl	$4, %edx
	movslq	%edx, %rdx
	movb	(%rdx,%rsi), %dl
	movb	%dl, _pnp_eisaformat.idbuf+5(%rip)
	andl	$15, %ecx
	movb	(%rcx,%rsi), %cl
	movb	%cl, _pnp_eisaformat.idbuf+6(%rip)
	movb	$0, _pnp_eisaformat.idbuf+7(%rip)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_pnp_eisaformat.idbuf,8,0 ## @pnp_eisaformat.idbuf
	.section	__TEXT,__cstring,cstring_literals
	.p2align	4                               ## @__const.pnp_eisaformat.hextoascii
L___const.pnp_eisaformat.hextoascii:
	.asciz	"0123456789abcdef"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pnp_eisaformat                 ; -- Begin function pnp_eisaformat
	.p2align	2
_pnp_eisaformat:                        ; @pnp_eisaformat
	.cfi_startproc
; %bb.0:
	ldrb	w8, [x0]
	mov	w9, #64
	mov	w10, #64
	bfxil	w10, w8, #2, #5
Lloh0:
	adrp	x8, _pnp_eisaformat.idbuf@PAGE
Lloh1:
	add	x8, x8, _pnp_eisaformat.idbuf@PAGEOFF
	strb	w10, [x8]
	ldp	w10, w11, [x0]
	ubfiz	w10, w10, #3, #2
	bfxil	w10, w11, #5, #3
	orr	w10, w10, #0x40
	strb	w10, [x8, #1]
	bfxil	w9, w11, #0, #5
	strb	w9, [x8, #2]
Lloh2:
	adrp	x9, l___const.pnp_eisaformat.hextoascii@PAGE
Lloh3:
	add	x9, x9, l___const.pnp_eisaformat.hextoascii@PAGEOFF
	ldp	w10, w11, [x0, #8]
	asr	w12, w10, #4
	ldrb	w12, [x9, w12, sxtw]
	and	x10, x10, #0xf
	ldrb	w10, [x9, x10]
	strb	w12, [x8, #3]
	strb	w10, [x8, #4]
	asr	w10, w11, #4
	ldrb	w10, [x9, w10, sxtw]
	strb	w10, [x8, #5]
	and	x10, x11, #0xf
	ldrb	w9, [x9, x10]
	strb	w9, [x8, #6]
	strb	wzr, [x8, #7]
	mov	x0, x8
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_pnp_eisaformat.idbuf,8,0 ; @pnp_eisaformat.idbuf
	.section	__TEXT,__cstring,cstring_literals
l___const.pnp_eisaformat.hextoascii:    ; @__const.pnp_eisaformat.hextoascii
	.asciz	"0123456789abcdef"

.subsections_via_symbols
