	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_install_driver                 ## -- Begin function install_driver
	.p2align	4, 0x90
_install_driver:                        ## @install_driver
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_IH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rdi)
	movq	$0, (%rdi)
	movq	_BS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_DriverBindingProtocolGUID@GOTPCREL(%rip), %rsi
	movq	%rdi, %rdx
	xorl	%ecx, %ecx
	callq	*(%rax)
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_EFI_ERROR
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	%ebx, %edi
	callq	_EFI_ERROR_CODE
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_printf
LBB0_2:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IH,4,2                         ## @IH
	.comm	_BS,8,3                         ## @BS
	.comm	_DriverBindingProtocolGUID,4,2  ## @DriverBindingProtocolGUID
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to install driver (%ld)!\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_install_driver                 ; -- Begin function install_driver
	.p2align	2
_install_driver:                        ; @install_driver
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, _IH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IH@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x0, #8]
	str	xzr, [x0]
Lloh3:
	adrp	x8, _BS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BS@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	ldr	x8, [x8]
Lloh6:
	adrp	x1, _DriverBindingProtocolGUID@GOTPAGE
Lloh7:
	ldr	x1, [x1, _DriverBindingProtocolGUID@GOTPAGEOFF]
	mov	x2, x0
	mov	x3, #0
	blr	x8
	mov	x19, x0
	bl	_EFI_ERROR
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_EFI_ERROR_CODE
	mov	x1, x0
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printf
LBB0_2:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_IH,4,2                         ; @IH
	.comm	_BS,8,3                         ; @BS
	.comm	_DriverBindingProtocolGUID,4,2  ; @DriverBindingProtocolGUID
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to install driver (%ld)!\n"

.subsections_via_symbols
